新增舱位的甩货或换舱信息表

dev
jianghaiqing 4 weeks ago
parent 7e26400fbe
commit b1da946025

@ -0,0 +1,118 @@
using DS.Module.Core.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Op.Entity
{
/// <summary>
/// 舱位甩货或换舱信息
/// </summary>
[SqlSugar.SugarTable("op_sea_booking_slot_rolling", "舱位甩货或换舱信息")]
public class BookingSlotRolling : BaseModel<long>
{
/// <summary>
/// 舱位主键
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "舱位主键", IsNullable = false)]
public long SlotId { get; set; }
/// <summary>
/// 延期原因类型Rolling-甩货Change-换舱)
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "延期原因类型Rolling-甩货Change-换舱)", Length = 20, IsNullable = false)]
public string DelayReasonType { get; set; }
/// <summary>
/// 延期原因名称Rolling-甩货Change-换舱)
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "延期原因名称Rolling-甩货Change-换舱)", Length = 30, IsNullable = false)]
public string DelayReasonTypeName { get; set; }
/// <summary>
/// 延期次数
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "延期次数", IsNullable = false)]
public int DelayNum { get; set; }
/// <summary>
/// 船名
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "船名", Length = 30, IsNullable = true)]
public string Vessel { get; set; }
/// <summary>
/// 航次号
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "航次号", Length = 20, IsNullable = true)]
public string Voyno { get; set; }
/// <summary>
/// 船公司ID
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "船公司ID", IsNullable = true)]
public Nullable<long> CarrierId { get; set; }
/// <summary>
/// 船公司代码
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "船公司代码", Length = 20, IsNullable = true)]
public string CarrierCode { get; set; }
/// <summary>
/// 船公司
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "船公司", Length = 20, IsNullable = true)]
public string Carrier { get; set; }
/// <summary>
/// 预计开船日期
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "预计开船日期", IsNullable = true)]
public Nullable<DateTime> ETD { get; set; }
/// <summary>
/// 预计到港日期
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "预计到港日期", IsNullable = true)]
public Nullable<DateTime> ETA { get; set; }
/// <summary>
/// 装货港代码
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "装货港代码", Length = 10, IsNullable = true)]
public string PortLoadCode { get; set; }
/// <summary>
/// 装货港主键
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "装货港主键", IsNullable = true)]
public Nullable<long> PortLoadId { get; set; }
/// <summary>
/// 装货港
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "装货港", Length = 120, IsNullable = true)]
public string PortLoad { get; set; }
/// <summary>
/// 卸货港代码
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "卸货港代码", Length = 10, IsNullable = true)]
public string PortDischargeCode { get; set; }
/// <summary>
/// 卸货港主键
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "卸货港主键", IsNullable = true)]
public Nullable<long> PortDischargeId { get; set; }
/// <summary>
/// 卸货港
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "卸货港", Length = 120, IsNullable = true)]
public string PortDischarge { get; set; }
}
}

@ -220,7 +220,7 @@ public class SaasTest
//tenantDb.CodeFirst.InitTables(typeof(BookingSlotBase));
//tenantDb.CodeFirst.InitTables(typeof(BookingSlotCtn));
//tenantDb.CodeFirst.InitTables(typeof(BookingSlotStock));
tenantDb.CodeFirst.InitTables(typeof(BLIssueManageLog));
tenantDb.CodeFirst.InitTables(typeof(BookingSlotRolling));
//tenantDb.CodeFirst.InitTables(typeof(DraftCompareFeedBackRecord));
//tenantDb.CodeFirst.InitTables(typeof(BookingSlotAllocationCtn));
//tenantDb.CodeFirst.InitTables(typeof(BookingSlotDemand));

Loading…
Cancel
Save