using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsOpLetter { [JsonObject] public class MsOpLetterSur : ModelObjectBillHead { #region 私有成员 private string _LE_ID ="";//编号 private string _MBLNO = "";//业务编号 private string _PORTLOAD = ""; private string _PORTDISCHARGE = ""; private string _VESSELVOYNO = ""; private string _CONSIGNEE = ""; private string _REMARK = ""; #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 PORTLOAD { get { return _PORTLOAD; } set { _PORTLOAD = value; } } [ModelDB] public string PORTDISCHARGE { get { return _PORTDISCHARGE; } set { _PORTDISCHARGE = value; } } [ModelDB] public string VESSELVOYNO { get { return _VESSELVOYNO; } set { _VESSELVOYNO = value; } } [ModelDB] public string CONSIGNEE { get { return _CONSIGNEE; } set { _CONSIGNEE = value; } } [ModelDB] public string REMARK { get { return _REMARK; } set { _REMARK = value; } } #endregion public MsOpLetterSur() { TableName = "op_letter_sur"; } override public string GetBillNoFieldName() { return "BsNo"; } } #region 参照部分 #endregion }