|
|
|
|
using DS.Module.Core;
|
|
|
|
|
using DS.Module.Core.Data;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Code.Entity;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 航次信息表
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SqlSugar.SugarTable("op_code_voyno","航次信息表")]
|
|
|
|
|
public class CodeVoyno: BaseModel<long>
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船名Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "船名Id")]
|
|
|
|
|
public long VesselId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 航次
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "航次", Length = 10)]
|
|
|
|
|
public string VoyNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 装货港
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "装货港", Length = 60,IsNullable = true)]
|
|
|
|
|
public string LoadPort { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 中转港
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "中转港", Length = 60,IsNullable = true)]
|
|
|
|
|
public string EnterPort { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 卸货港
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "卸货港", Length = 60,IsNullable = true)]
|
|
|
|
|
public string DischargePort { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 开船日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "开船日期",IsNullable = true)]
|
|
|
|
|
public DateTime? ETD { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预抵日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "预抵日期",IsNullable = true)]
|
|
|
|
|
public DateTime? ETA { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ATD
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "ATD",IsNullable = true)]
|
|
|
|
|
public DateTime? ATD { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 截单时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "截单时间",IsNullable = true)]
|
|
|
|
|
public DateTime? CloseDoDate { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 默认场站(码头)Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "默认场站(码头)Id",IsNullable = true)]
|
|
|
|
|
public long YardId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态 0启用 1禁用
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "状态",DefaultValue = "0")]
|
|
|
|
|
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
|
|
|
|
|
}
|