You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
2.5 KiB
C#

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