using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsOpLetter { [JsonObject] public class MsOpLetter : ModelObjectBillHead { #region 私有成员 private string _LE_ID ="";//编号 private string _BSNO ="*";//业务编号 private string _HEAD_TO = ""; private string _HEAD_ATTN = ""; private string _HEAD_ATTNTEL= ""; private string _HEAD_ATTNFAX = ""; private string _HEAD_FMTEL = ""; private string _HEAD_FMFAX = ""; private string _HEAD_FMEMAIL = ""; private string _LETTERNAME = ""; private string _INPUTBY = ""; private string _INPUTTIME = ""; private string _UpdateTime = ""; #endregion #region 读写属性 /// /// 编号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string LE_ID { get { return _LE_ID; } set { _LE_ID = value; } } /// /// 业务编号 /// [ModelDB] public string BSNO { get { return _BSNO; } set { _BSNO = value; } } /// 业务状态 /// [ModelDB] public string HEAD_TO { get { return _HEAD_TO; } set { _HEAD_TO = value; } } [ModelDB] public string HEAD_ATTN { get { return _HEAD_ATTN; } set { _HEAD_ATTN = value; } } [ModelDB] public string HEAD_ATTNTEL { get { return _HEAD_ATTNTEL; } set { _HEAD_ATTNTEL = value; } } [ModelDB] public string HEAD_ATTNFAX { get { return _HEAD_ATTNFAX; } set { _HEAD_ATTNFAX = value; } } [ModelDB] public string HEAD_FMTEL { get { return _HEAD_FMTEL; } set { _HEAD_FMTEL = value; } } [ModelDB] public string HEAD_FMFAX { get { return _HEAD_FMFAX; } set { _HEAD_FMFAX = value; } } [ModelDB] public string HEAD_FMEMAIL { get { return _HEAD_FMEMAIL; } set { _HEAD_FMEMAIL = value; } } [ModelDB] public string LETTERNAME { get { return _LETTERNAME; } set { _LETTERNAME = value; } } [ModelDB] public string INPUTBY { get { return _INPUTBY; } set { _INPUTBY = value; } } [ModelDB] public string INPUTTIME { get { return _INPUTTIME; } set { _INPUTTIME = value; } } [ModelDB] public string UpdateTime { get { return _UpdateTime; } set { _UpdateTime = value; } } #endregion public MsOpLetter() { TableName = "op_letter"; } override public string GetBillNoFieldName() { return "BsNo"; } } #region 参照部分 #endregion }