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.

70 lines
2.1 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Code.Entity;
/// <summary>
/// 航次信息表
/// </summary>
[SqlSugar.SugarTable("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;
}