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