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.

69 lines
2.2 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_port","港口信息表")]
public class CodePort: BaseModel<long>
{
/// <summary>
/// 港口英文名称
/// </summary>
[SugarColumn(ColumnDescription = "港口英文名称", Length = 60)]
public string PortName { get; set; }
/// <summary>
/// 集装箱类型
/// </summary>
[SugarColumn(ColumnDescription = "集装箱类型", Length = 5)]
public string CtnSize { get; set; }
/// <summary>
/// 集装箱尺寸
/// </summary>
[SugarColumn(ColumnDescription = "集装箱尺寸", Length = 10)]
public string CtnType { get; set; }
/// <summary>
/// EDI代码
/// </summary>
[SugarColumn(ColumnDescription = "EDI代码", Length = 5)]
public string EdiCode { get; set; }
/// <summary>
/// 箱皮重
/// </summary>
[SugarColumn(ColumnDescription = "箱皮重", Length = 18,DecimalDigits = 3,DefaultValue ="0")]
public decimal CtnWeight { get; set; }
/// <summary>
/// 中文说明
/// </summary>
[SugarColumn(ColumnDescription = "中文说明", Length = 100)]
public string CnExplain { get; set; }
/// <summary>
/// 英文说明
/// </summary>
[SugarColumn(ColumnDescription = "英文说明", Length = 100)]
public string EnExplain { get; set; }
/// <summary>
/// AFR代码
/// </summary>
[SugarColumn(ColumnDescription = "AFR代码", Length = 10)]
public string AfrCode { get; set; }
/// <summary>
/// 默认限重
/// </summary>
[SugarColumn(ColumnDescription = "默认限重", Length = 18,DecimalDigits = 3,DefaultValue ="0")]
public decimal LimitWeight { get; set; }
/// <summary>
/// TEU
/// </summary>
[SugarColumn(ColumnDescription = "TEU", Length = 8,DecimalDigits = 2,DefaultValue ="0")]
public decimal TEU { get; set; }
/// <summary>
/// 状态 0启用 1禁用
/// </summary>
[SugarColumn(ColumnDescription = "状态",DefaultValue = "0")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
}