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#

11 months ago
using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Code.Entity;
/// <summary>
/// 国家信息表
/// </summary>
[SqlSugar.SugarTable("code_country","国家信息表")]
11 months ago
public class CodeCountry: BaseModel<long>
{
/// <summary>
/// 国家唯一代码
/// </summary>
11 months ago
[SugarColumn(ColumnDescription = "国家代码", Length = 200)]
11 months ago
public string CountryCode { get; set; }
/// <summary>
/// 国家名称
/// </summary>
11 months ago
[SugarColumn(ColumnDescription = "国家名称", Length = 200)]
11 months ago
public string CountryName { get; set; }
/// <summary>
/// 国家英文名称
/// </summary>
9 months ago
[SugarColumn(ColumnDescription = "国家英文名称", Length = 200, IsNullable = true)]
11 months ago
public string CountryEnName { get; set; }
/// <summary>
/// 所在大洲
/// </summary>
11 months ago
[SugarColumn(ColumnDescription = "所在大洲",IsNullable = true, Length = 100)]
11 months ago
public string Chau { get; set; }
/// <summary>
/// 首都
/// </summary>
11 months ago
[SugarColumn(ColumnDescription = "首都",IsNullable = true, Length = 100)]
11 months ago
public string Capital { get; set; }
/// <summary>
11 months ago
/// 关税等级
11 months ago
/// </summary>
11 months ago
[SugarColumn(ColumnDescription = "关税等级",DefaultValue = "0")]
public int Tariff { get; set; }= 0;
11 months ago
/// <summary>
/// 吨位税
/// </summary>
11 months ago
[SugarColumn(ColumnDescription = "吨位税",DefaultValue = "0")]
public int TonnageTax { get; set; } = 0;
11 months ago
/// <summary>
11 months ago
/// 国家3字代码
11 months ago
/// </summary>
11 months ago
[SugarColumn(ColumnDescription = "国家3字代码",IsNullable = true, Length = 200)]
11 months ago
public string CountryCode3 { get; set; }
11 months ago
/// <summary>
11 months ago
/// 国家描述
11 months ago
/// </summary>
[SugarColumn(ColumnDescription = "国家描述",IsNullable = true, Length = 2000)]
11 months ago
public string Explain { get; set; }
11 months ago
// /// <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; }
11 months ago
/// <summary>
/// 状态 0启用 1禁用
/// </summary>
11 months ago
[SugarColumn(ColumnDescription = "状态",DefaultValue = "0")]
11 months ago
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
}