using SqlSugar; namespace FoodLabeling.Application.Services.DbModels; /// /// 合作伙伴主数据(Account Management / Partner,表 fl_partner) /// [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; } /// /// 合作伙伴名称(公司名) /// public string PartnerName { get; set; } = string.Empty; /// /// 联系邮箱 /// public string? ContactEmail { get; set; } /// /// 电话 /// public string? PhoneNumber { get; set; } public string? Street { get; set; } public string? City { get; set; } /// /// 州/省代码(如 NY);勿与启用状态字段 混淆 /// [SugarColumn(ColumnName = "StateCode")] public string? StateCode { get; set; } public string? Country { get; set; } [SugarColumn(ColumnName = "ZipCode")] public string? ZipCode { get; set; } /// /// 是否启用(对应 UI Active) /// public bool State { get; set; } }