using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.Code.Entity; /// /// 国家信息表 /// [SqlSugar.SugarTable("code_country","国家信息表")] public class CodeCountry: BaseModel { /// /// 国家唯一代码 /// [SugarColumn(ColumnDescription = "国家代码", Length = 200)] public string CountryCode { get; set; } /// /// 国家名称 /// [SugarColumn(ColumnDescription = "国家名称", Length = 200)] public string CountryName { get; set; } /// /// 国家英文名称 /// [SugarColumn(ColumnDescription = "国家英文名称", Length = 200, IsNullable = true)] public string CountryEnName { get; set; } /// /// 所在大洲 /// [SugarColumn(ColumnDescription = "所在大洲",IsNullable = true, Length = 100)] public string Chau { get; set; } /// /// 首都 /// [SugarColumn(ColumnDescription = "首都",IsNullable = true, Length = 100)] public string Capital { get; set; } /// /// 关税等级 /// [SugarColumn(ColumnDescription = "关税等级",DefaultValue = "0")] public int Tariff { get; set; }= 0; /// /// 吨位税 /// [SugarColumn(ColumnDescription = "吨位税",DefaultValue = "0")] public int TonnageTax { get; set; } = 0; /// /// 国家3字代码 /// [SugarColumn(ColumnDescription = "国家3字代码",IsNullable = true, Length = 200)] public string CountryCode3 { get; set; } /// /// 国家描述 /// [SugarColumn(ColumnDescription = "国家描述",IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)] public string Explain { get; set; } // /// // /// 审批状态 // /// // [SugarColumn(ColumnDescription = "审批状态")] // public AuditStatusEnum? AuditStatus { get; set; } = AuditStatusEnum.NoAudit; // // /// // /// 审批时间 // /// // public DateTime AuditTime { get; set; } // /// // /// 审批意见 // /// // public string AuditNote { get; set; } /// /// 状态 0启用 1禁用 /// [SugarColumn(ColumnDescription = "状态",DefaultValue = "0")] public StatusEnum? Status { get; set; } = StatusEnum.Enable; }