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