|
|
|
using DS.Module.Core;
|
|
|
|
using DS.Module.Core.Data;
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Code.Entity;
|
|
|
|
/// <summary>
|
|
|
|
/// 港口信息表
|
|
|
|
/// </summary>
|
|
|
|
[SqlSugar.SugarTable("op_code_port","港口信息表")]
|
|
|
|
public class CodePort: BaseModel<long>
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// 港口英文名称
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "港口英文名称", Length = 60)]
|
|
|
|
public string PortName { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 港口中文名称
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "港口中文名称", Length = 60)]
|
|
|
|
public string CnName { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 国家名称
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "国家名称", Length = 80)]
|
|
|
|
public string CountryName { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 所在大洲
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "所在大洲",IsNullable = true, Length = 60)]
|
|
|
|
public string Chau { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 说明
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "说明",IsNullable = true, Length = 2000)]
|
|
|
|
public string Explain { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 港口类型
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "港口类型",IsNullable = true, Length = 10)]
|
|
|
|
public string PortType { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 国家Id
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "国家Id")]
|
|
|
|
public long CountryId { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 航线Id
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "航线Id")]
|
|
|
|
public long LaneId { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// EDI代码
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "EDI代码", Length = 5)]
|
|
|
|
public string EdiCode { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 状态 0启用 1禁用
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "状态",DefaultValue = "0")]
|
|
|
|
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
|
|
|
|
}
|