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.

74 lines
2.3 KiB
C#

using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Code.Entity;
/// <summary>
/// 港口信息表
/// </summary>
[SqlSugar.SugarTable("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,IsNullable = true)]
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",IsNullable = true)]
public long CountryId { get; set; }
/// <summary>
/// 航线Id
/// </summary>
[SugarColumn(ColumnDescription = "航线Id",IsNullable = true)]
public long LaneId { get; set; }
/// <summary>
/// 航线代码
/// </summary>
[SugarColumn(ColumnDescription = "航线代码", IsNullable = true, Length = 100)]
public string LaneCode { get; set; }
/// <summary>
/// 航线
/// </summary>
[SugarColumn(ColumnDescription = "航线", IsNullable = true, Length = 100)]
public string Lane { get; set; }
/// <summary>
/// EDI代码
/// </summary>
[SugarColumn(ColumnDescription = "EDI代码", Length = 30,IsNullable = true)]
public string EdiCode { get; set; }
/// <summary>
/// 状态 0启用 1禁用
/// </summary>
[SugarColumn(ColumnDescription = "状态",DefaultValue = "0")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
}