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.

45 lines
1.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_vessel","船名信息表")]
public class CodeVessel: BaseModel<long>
{
/// <summary>
/// 船名
/// </summary>
[SugarColumn(ColumnDescription = "船名", Length = 60)]
public string VesselName { get; set; }
/// <summary>
/// 中文说明
/// </summary>
[SugarColumn(ColumnDescription = "中文说明", Length = 100)]
public string CnName { get; set; }
/// <summary>
/// 船公司Id
/// </summary>
[SugarColumn(ColumnDescription = "船公司Id",IsNullable = true)]
public long CarrierId { get; set; }
/// <summary>
/// 船运代理
/// </summary>
[SugarColumn(ColumnDescription = "船运代理",IsNullable = true, Length = 100)]
public string ShipAgency { get; set; }
/// <summary>
/// EDI代码-船舶呼号
/// </summary>
[SugarColumn(ColumnDescription = "EDI代码-船舶呼号", Length = 5,IsNullable = true)]
public string EdiCode { get; set; }
/// <summary>
/// 状态 0启用 1禁用
/// </summary>
[SugarColumn(ColumnDescription = "状态",DefaultValue = "0")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
}