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.

78 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_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;
}