using SqlSugar; namespace DS.WMS.Core.Info.Entity { /// /// 发票抬头 /// [SugarTable("invoice_header", TableDescription = "发票抬头")] public class InvoiceHeader { /// /// 主键ID /// [SugarColumn(IsPrimaryKey = true)] public long Id { get; set; } /// /// 关联ID /// [SugarColumn(ColumnDescription = "关联ID", IsOnlyIgnoreUpdate = true)] public long RelativeId { get; set; } /// /// 发票抬头 /// [SugarColumn(ColumnDescription = "发票抬头", Length = 200, IsNullable = false)] public string Header { get; set; } = string.Empty; /// /// 地址电话 /// [SugarColumn(ColumnDescription = "地址电话", Length = 200, IsNullable = true)] public string? AddressTel { get; set; } } }