|
|
|
using DS.Module.Core;
|
|
|
|
using DS.Module.Core.Data;
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Code.Entity;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 集装箱信息表
|
|
|
|
/// </summary>
|
|
|
|
[SqlSugar.SugarTable("op_code_ctn", "集装箱信息表")]
|
|
|
|
public class CodeCtn : BaseModel<long>
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// 集装箱类型
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "集装箱类型", Length = 5)]
|
|
|
|
public string CtnSize { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 集装箱尺寸
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "集装箱尺寸", Length = 10)]
|
|
|
|
public string CtnType { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 表现形式
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "表现形式", Length = 10)]
|
|
|
|
public string CtnName { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// EDI代码
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "EDI代码", Length = 5, IsNullable = true)]
|
|
|
|
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, IsNullable = true)]
|
|
|
|
public string CnExplain { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 英文说明
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "英文说明", Length = 100, IsNullable = true)]
|
|
|
|
public string EnExplain { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// AFR代码
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "AFR代码", Length = 10, IsNullable = true)]
|
|
|
|
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;
|
|
|
|
}
|