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.

266 lines
9.3 KiB
C#

using DS.Module.Core.Data;
using SqlSugar;
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_business_yard", "业务场站入货通知信息")]
public class BusinessYard : BaseOrgModel<long>
{
/// <summary>
/// 业务Id
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "业务Id", IsNullable = false)]
public long BusinessId { get; set; }
/// <summary>
/// 通知人
/// </summary>
[SugarColumn(ColumnDescription = "通知人", IsNullable = true, Length = 60)]
public string ToName { get; set; }
/// <summary>
/// 联系人
/// </summary>
[SugarColumn(ColumnDescription = "联系人", IsNullable = true, Length = 30)]
public string ToAttn { get; set; }
/// <summary>
/// ATTN电话
/// </summary>
[SugarColumn(ColumnDescription = "ATTN电话", IsNullable = true, Length = 30)]
public string ToAttnTel { get; set; }
/// <summary>
/// ATTN传真
/// </summary>
[SugarColumn(ColumnDescription = "ATTN传真", IsNullable = true, Length = 30)]
public string ToAttnFax { get; set; }
/// <summary>
/// ATTN邮箱
/// </summary>
[SugarColumn(ColumnDescription = "ATTN邮箱", IsNullable = true, Length = 30)]
public string ToAttnEmail { get; set; }
/// <summary>
/// 通知人
/// </summary>
[SugarColumn(ColumnDescription = "通知人", IsNullable = true, Length = 60)]
public string FromName { get; set; }
/// <summary>
/// FROM电话
/// </summary>
[SugarColumn(ColumnDescription = "FROM电话", IsNullable = true, Length = 100)]
public string FromTel { get; set; }
/// <summary>
/// FROM手机号
/// </summary>
[SugarColumn(ColumnDescription = "FROM手机号", IsNullable = true, Length = 100)]
public string FromMobile { get; set; }
/// <summary>
/// FROM传真
/// </summary>
[SugarColumn(ColumnDescription = "FROM传真", IsNullable = true, Length = 100)]
public string FromFax { get; set; }
/// <summary>
/// FROM邮箱
/// </summary>
[SugarColumn(ColumnDescription = "FROM邮箱", IsNullable = true, Length = 100)]
public string FromEmail { get; set; }
/// <summary>
/// 主提单号
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "主提单号", IsNullable = false, Length = 30)]
public string MBLNO { get; set; }
/// <summary>
/// 卸货港Id
/// </summary>
[SugarColumn(ColumnDescription = "卸货港Id", IsNullable = true)]
public long DischargePortId { get; set; }
/// <summary>
/// 卸货港
/// </summary>
[SugarColumn(ColumnDescription = "卸货港", Length = 60, IsNullable = true)]
public string DischargePort { get; set; }
/// <summary>
/// 船名航次
/// </summary>
[SugarColumn(ColumnDescription = "卸货港", Length = 100, IsNullable = true)]
public string VesselVoyNo { get; set; }
/// <summary>
/// 开船日期
/// </summary>
[SugarColumn(ColumnDescription = "开船日期", IsNullable = true)]
public DateTime? ETD { get; set; }
/// <summary>
/// 目的地
/// </summary>
[SugarColumn(ColumnDescription = "目的地", IsNullable = true, Length = 60)]
public string Destination { get; set; }
/// <summary>
/// 件重尺
/// </summary>
[SugarColumn(ColumnDescription = "件重尺", IsNullable = true, Length = 100)]
public string PKC { get; set; }
/// <summary>
/// 货物描述
/// </summary>
[SugarColumn(ColumnDescription = "货物描述", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string Description { get; set; }
/// <summary>
/// 提箱场站
/// </summary>
[SugarColumn(ColumnDescription = "YardId")]
public long YardId { get; set; }
/// <summary>
/// 提箱场站名称
/// </summary>
[SugarColumn(ColumnDescription = "提箱场站名称", Length = 60, IsNullable = true)]
public string YardName { get; set; }
/// <summary>
/// 地址
/// </summary>
[SugarColumn(ColumnDescription = "地址", IsNullable = true, Length = 200)]
public string YardAddress { get; set; }
/// <summary>
/// 电话
/// </summary>
[SugarColumn(ColumnDescription = "电话", IsNullable = true, Length = 100)]
public string YardTel { get; set; }
/// <summary>
/// 提箱联系人
/// </summary>
[SugarColumn(ColumnDescription = "提箱联系人")]
public long YardAttn { get; set; }
/// <summary>
/// 入货场站
/// </summary>
[SugarColumn(ColumnDescription = "入货场站Id")]
public long ReceiveYardId { get; set; }
/// <summary>
/// 入货场站名称
/// </summary>
[SugarColumn(ColumnDescription = "入货场站名称", Length = 60, IsNullable = true)]
public string ReceiveYardName { get; set; }
/// <summary>
/// 入货地址
/// </summary>
[SugarColumn(ColumnDescription = "入货地址", IsNullable = true, Length = 200)]
public string ReceiveAddress { get; set; }
/// <summary>
/// 入货电话
/// </summary>
[SugarColumn(ColumnDescription = "入货电话", IsNullable = true, Length = 100)]
public string ReceiveTel { get; set; }
/// <summary>
/// 入货联系人
/// </summary>
[SugarColumn(ColumnDescription = "入货联系人")]
public long ReceiveAttn { get; set; }
/// <summary>
/// Desc:单证Id
/// </summary>
[SugarColumn(ColumnDescription = "单证Id",IsNullable = true)]
public long Doc { get; set; }
/// <summary>
/// Desc:单证人员名称
/// </summary>
[SugarColumn(ColumnDescription = "单证人员名称", IsNullable = true, Length = 100)]
public string DocName { get; set; }
/// <summary>
/// 单证电话
/// </summary>
[SugarColumn(ColumnDescription = "单证电话", IsNullable = true, Length = 100)]
public string DocTel { get; set; }
/// <summary>
/// 单证传真
/// </summary>
[SugarColumn(ColumnDescription = "单证传真", IsNullable = true, Length = 100)]
public string DocFax { get; set; }
/// <summary>
/// 单证邮箱
/// </summary>
[SugarColumn(ColumnDescription = "单证邮箱", IsNullable = true, Length = 100)]
public string DocEmail { get; set; }
/// <summary>
/// 截港日期
/// </summary>
[SugarColumn(ColumnDescription = "截港日期", IsNullable = true)]
public DateTime? ClosingDate { get; set; }
/// <summary>
/// 截单日期
/// </summary>
[SugarColumn(ColumnDescription = "截单日期", IsNullable = true)]
public DateTime CloseDocDate { get; set; }
/// <summary>
/// 截VGM日期
/// </summary>
[SugarColumn(ColumnDescription = "截VGM日期", IsNullable = true)]
public DateTime CloseVGMDate { get; set; }
/// <summary>
/// 出口海关
/// </summary>
[SugarColumn(ColumnDescription = "出口海关", IsNullable = true, Length = 100)]
public string ExportCustoms { get; set; }
/// <summary>
/// 海关代码
/// </summary>
[SugarColumn(ColumnDescription = "海关代码", IsNullable = true, Length = 100)]
public string CustomsCode { get; set; }
/// <summary>
/// 报关代码
/// </summary>
[SugarColumn(ColumnDescription = "报关代码", IsNullable = true, Length = 100)]
public string DeclarationCode { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(ColumnDescription = "备注", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string Remark { get; set; }
/// <summary>
/// 提箱小票地址
/// </summary>
[SugarColumn(ColumnDescription = "提箱小票地址", IsNullable = true, Length = 260)]
public string PickReceiptUrl { get; set; }
/// <summary>
/// 提箱时间
/// </summary>
[SugarColumn(ColumnDescription = "提箱时间", IsNullable = true)]
public DateTime PickUpTime { get; set; }
/// <summary>
/// 入货时间
/// </summary>
[SugarColumn(ColumnDescription = "入货时间", IsNullable = true)]
public DateTime ReceiveTime { get; set; }
/// <summary>
/// 箱型箱量
/// </summary>
[SugarColumn(ColumnDescription = "箱型箱量", IsNullable = true,Length =100)]
public string CntrTotal { get; set; }
}
}