FlPartnerDbEntity.cs
1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
using SqlSugar;
namespace FoodLabeling.Application.Services.DbModels;
/// <summary>
/// 合作伙伴主数据(Account Management / Partner,表 fl_partner)
/// </summary>
[SugarTable("fl_partner")]
public class FlPartnerDbEntity
{
[SugarColumn(IsPrimaryKey = true)]
public string Id { get; set; } = string.Empty;
public bool IsDeleted { get; set; }
public DateTime CreationTime { get; set; }
public string? CreatorId { get; set; }
public string? LastModifierId { get; set; }
public DateTime? LastModificationTime { get; set; }
/// <summary>
/// 合作伙伴名称(公司名)
/// </summary>
public string PartnerName { get; set; } = string.Empty;
/// <summary>
/// 联系邮箱
/// </summary>
public string? ContactEmail { get; set; }
/// <summary>
/// 电话
/// </summary>
public string? PhoneNumber { get; set; }
public string? Street { get; set; }
public string? City { get; set; }
/// <summary>
/// 州/省代码(如 NY);勿与启用状态字段 <see cref="State"/> 混淆
/// </summary>
[SugarColumn(ColumnName = "StateCode")]
public string? StateCode { get; set; }
public string? Country { get; set; }
[SugarColumn(ColumnName = "ZipCode")]
public string? ZipCode { get; set; }
/// <summary>
/// 是否启用(对应 UI Active)
/// </summary>
public bool State { get; set; }
}