using System; using SqlSugar; using System.ComponentModel; using Myshipping.Core.Entity; namespace Myshipping.Application.Entity { /// /// 船期信息 /// [SugarTable("djy_vesselinfo")] [Description("船期信息")] public class DjyVesselInfo : PrimaryKeyEntity { /// /// 租户Id /// public long? TenantId { get; set; } /// /// 船名 /// public string Vessel { get; set; } /// /// 航次 /// public string Voyno { get; set; } /// /// 装货港 /// public string PortLoading { get; set; } /// /// 中转港 /// public string PortTransit { get; set; } /// /// 卸货港 /// public string PortDischarge { get; set; } /// /// 装货港ID /// public string PortLoadingId { get; set; } /// /// 装货港ID /// public string PortTransitId { get; set; } /// /// 卸货港ID /// public string PortDischargeId { get; set; } /// /// 开船日期 /// public DateTime? ETD { get; set; } /// /// 截港日期 /// public DateTime? ClosingDate { get; set; } /// /// 预抵日期 /// public DateTime? ETA { get; set; } /// /// 场站 /// public string Yard { get; set; } /// /// 场站Code /// public string YardCode { get; set; } /// /// 实际离港日期 /// public DateTime? ATD { get; set; } /// /// 船公司 /// public string CARRIER { get; set; } /// /// 船公司ID /// public string CARRIERID { get; set; } /// /// 内部航次 /// public string VoynoInside { get; set; } /// /// 东胜id /// public string BSNO { get; set; } /// /// 创建人名称 /// public string CreatedUserName { get; set; } /// /// 创建者Id /// //[SugarColumn(ColumnDescription = "创建者Id")] public long? CreatedUserId { get; set; } } public class DjyVesselInfoDto { /// /// 东胜id /// public string BSNO { get; set; } public virtual long Id { get; set; } /// /// 船名 /// public string Vessel { get; set; } /// /// 航次 /// public string Voyno { get; set; } /// /// 装货港 /// public string PortLoading { get; set; } /// /// 中转港 /// public string PortTransit { get; set; } /// /// 卸货港 /// public string PortDischarge { get; set; } /// /// 装货港ID /// public string PortLoadingId { get; set; } /// /// 装货港ID /// public string PortTransitId { get; set; } /// /// 卸货港ID /// public string PortDischargeId { get; set; } /// /// 开船日期 /// public DateTime? ETD { get; set; } /// /// 截港日期 /// public DateTime? ClosingDate { get; set; } /// /// 预抵日期 /// public DateTime? ETA { get; set; } /// /// 场站 /// public string Yard { get; set; } /// /// 场站Code /// public string YardCode { get; set; } /// /// 实际离港日期 /// public DateTime? ATD { get; set; } /// /// 船公司 /// public string CARRIER { get; set; } /// /// 船公司ID /// public string CARRIERID { get; set; } /// /// 内部航次 /// public string VoynoInside { get; set; } /// /// 创建人名称 /// public string CreatedUserName { get; set; } } }