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.

111 lines
4.0 KiB
C#

using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Op.Entity
{
/// <summary>
/// 订舱合约号管理
/// </summary>
[SqlSugar.SugarTable("booking_contract_manage", "订舱合约号管理")]
public class BookingContractNoManage : BaseModel<long>
{
/// <summary>
/// 合约号编号
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "合约号编号", Length = 50, IsNullable = true)]
public string ContractNo { get; set; }
/// <summary>
/// 合约号名称
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "合约号名称", Length = 100, IsNullable = true)]
public string ContractName { get; set; }
/// <summary>
/// 合约号备注
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "合约号备注", Length = 150, IsNullable = true)]
public string ContractNote { get; set; }
/// <summary>
/// 目的港代码
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "目的港代码", Length = 20, IsNullable = true)]
public string PodCode { get; set; }
/// <summary>
/// 目的港主键
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "目的港主键", IsNullable = true)]
public string PodId { get; set; }
/// <summary>
/// 目的港名称
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "目的港名称", Length = 60, IsNullable = true)]
public string PodName { get; set; }
/// <summary>
/// 船公司主键
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "船公司主键", 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 = 100, IsNullable = true)]
public string Carrier { get; set; }
/// <summary>
/// 合约方公司全称
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "合约方公司全称", Length = 200, IsNullable = true)]
public string ContractPartyName { get; set; }
/// <summary>
/// 合约方公司代码
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "合约方公司代码", Length = 64, IsNullable = true)]
public string ContractPartyCode { get; set; }
/// <summary>
/// 合约方联系人
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "合约方联系人", Length = 200, IsNullable = true)]
public string ContractLinkName { get; set; }
/// <summary>
/// 合约方联系邮件
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "合约方联系邮件", Length = 100, IsNullable = true)]
public string ContractLinkEmail { get; set; }
/// <summary>
/// 是否为本公司合约价格 1-是0-否
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "是否为本公司合约价格 1-是0-否", IsNullable = true, DefaultValue = "0")]
public bool IsOurOwnPrice { get; set; } = true;
/// <summary>
/// 关联的航线列表
/// </summary>
[Navigate(NavigateType.OneToMany, nameof(BookingContractNoManageLane.PId))]
public List<BookingContractNoManageLane>? LaneList { get; set; }
/// <summary>
/// 提单类型MBL-Master单,HBL-House单
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "提单类型MBL-Master单,HBL-House单", Length = 20, IsNullable = true)]
public string BLIssueType { get; set; }
}
}