using System; using System.Collections.Generic; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsOpLetter { [JsonObject] public class MsOpLetterYard : ModelObjectBillHead { #region 私有成员 private string _LE_ID ="";//编号 private string _MBLNO = "";//业务编号 private string _PORTDISCHARGE = ""; private string _DESTINATION = ""; private string _VESSELVOYNO = ""; private string _ETD = ""; private string _PKC = ""; private string _CNTR = ""; private string _DESCRIPTION = ""; private string _YARD = ""; private string _Address = ""; private string _Tel = ""; private string _YARD2 = ""; private string _Address2 = ""; private string _Tel2 = ""; private string _DRQ = ""; private string _CLOSEDOCDATE = ""; private string _ExportCustoms = ""; private string _CustomsCode = ""; private string _DeclarationCode = ""; private string _CLOSINGDATE = ""; private string _DOC = ""; private string _CHIEF = ""; private string _CHIEF2 = ""; private string _DOCTEL = ""; private string _DOCFAX = ""; private string _DOCEMAIL = ""; private string _REMARK = ""; private string _CLOSEVGMDATE = ""; private string _TiXiangTime = ""; private string _RuHuoTime = ""; #endregion #region 读写属性 /// /// 编号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string LE_ID { get { return _LE_ID; } set { _LE_ID = value; } } /// /// 业务编号 /// [ModelDB] public string MBLNO { get { return _MBLNO; } set { _MBLNO = value; } } /// 业务状态 /// [ModelDB] public string PORTDISCHARGE { get { return _PORTDISCHARGE; } set { _PORTDISCHARGE = value; } } [ModelDB] public string DESTINATION { get { return _DESTINATION; } set { _DESTINATION = value; } } [ModelDB] public string VESSELVOYNO { get { return _VESSELVOYNO; } set { _VESSELVOYNO = value; } } [ModelDB] public string ETD { get { return _ETD; } set { _ETD = value; } } [ModelDB] public string PKC { get { return _PKC; } set { _PKC = value; } } [ModelDB] public string CNTR { get { return _CNTR; } set { _CNTR = value; } } [ModelDB] public string DESCRIPTION { get { return _DESCRIPTION; } set { _DESCRIPTION = value; } } [ModelDB] public string YARD { get { return _YARD; } set { _YARD = value; } } [ModelDB] public string Address { get { return _Address; } set { _Address = value; } } [ModelDB] public string Tel { get { return _Tel; } set { _Tel = value; } } [ModelDB] public string YARD2 { get { return _YARD2; } set { _YARD2 = value; } } [ModelDB] public string Address2 { get { return _Address2; } set { _Address2 = value; } } [ModelDB] public string Tel2 { get { return _Tel2; } set { _Tel2 = value; } } [ModelDB] public string DRQ { get { return _DRQ; } set { _DRQ = value; } } [ModelDB] public string CLOSEDOCDATE { get { return _CLOSEDOCDATE; } set { _CLOSEDOCDATE = value; } } [ModelDB] public string ExportCustoms { get { return _ExportCustoms; } set { _ExportCustoms = value; } } [ModelDB] public string CustomsCode { get { return _CustomsCode; } set { _CustomsCode = value; } } [ModelDB] public string DeclarationCode { get { return _DeclarationCode; } set { _DeclarationCode = value; } } [ModelDB] public string CLOSINGDATE { get { return _CLOSINGDATE; } set { _CLOSINGDATE = value; } } [ModelDB] public string DOC { get { return _DOC; } set { _DOC = value; } } [ModelDB] public string CHIEF { get { return _CHIEF; } set { _CHIEF = value; } } [ModelDB] public string CHIEF2 { get { return _CHIEF2; } set { _CHIEF2 = value; } } [ModelDB] public string DOCTEL { get { return _DOCTEL; } set { _DOCTEL = value; } } [ModelDB] public string DOCFAX { get { return _DOCFAX; } set { _DOCFAX = value; } } [ModelDB] public string DOCEMAIL { get { return _DOCEMAIL; } set { _DOCEMAIL = value; } } [ModelDB] public string REMARK { get { return _REMARK; } set { _REMARK = value; } } [ModelDB] public string CLOSEVGMDATE { get { return _CLOSEVGMDATE; } set { _CLOSEVGMDATE = value; } } [ModelDB] public string RuHuoTime { get { return _RuHuoTime; } set { _RuHuoTime = value; } } [ModelDB] public string TiXiangTime { get { return _TiXiangTime; } set { _TiXiangTime = value; } } [ModelDB] public string TXXPURL { get; set; } #endregion public MsOpLetterYard() { TableName = "op_letter_yard"; } override public string GetBillNoFieldName() { return "BsNo"; } } #region 提箱小票 public class OpCtnTxxpViewModel { public string boxType { get; set; } public string boxCount { get; set; } } public class TxxpModel { public string billOrderId { get; set; } public string sendOrderCode { get; set; } public string userId { get; set; } public string userName { get; set; } public string userPassword { get; set; } public string AgentName { get; set; } public string CustomerName { get; set; } public string operatorName { get; set; } public string depotCode { get; set; } public string depotName { get; set; } public string linkName { get; set; } public string linkMobile { get; set; } public string CarrierCode { get; set; } public string portdischarge { get; set; } public string portdischargeCode { get; set; } public string memo { get; set; } public List boxInfo { get; set; } public string sysLoginName { get; set; } public string sysPsssword { get; set; } public string SystemCode { get; set; } } #endregion #region 参照部分 #endregion }