using System; using System.Data; using System.Collections; using System.Collections.Generic; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsOpMailSend { [JsonObject] public class OpMailSend : ModelObjectBillHead { #region 私有成员 private string _GID = Guid.NewGuid().ToString();//业务编号 private string _PROJECTID; private string _BLTYPE; private string _BSNO; private string _MBLNO; private string _RECEIVER; private string _SUBJECT; private string _DESCRIPTION; private string _SIGNATURE; private string _SENDER; private string _SENDSERVICE; private string _SENDERUSERNAME; private string _SENDERPASSWORD; private string _SENDERPORT; private string _ATTACHMENT; private string _HTTPURL; private string _SENDSTATUS = "Create"; private Int16 _TRYCOUNT =0; #endregion public OpMailSend() { TableName = "op_mail_send"; } #region 读写属性 /// /// 主键唯一值 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string PROJECTID { get { return _PROJECTID; } set { _PROJECTID = value; } } [ModelDB] public string BLTYPE { get { return _BLTYPE; } set { _BLTYPE = value; } } [ModelDB] public string BSNO { get { return _BSNO; } set { _BSNO = value; } } [ModelDB] public string MBLNO { get { return _MBLNO; } set { _MBLNO = value; } } /// [ModelDB] public string RECEIVER { get { return _RECEIVER; } set { _RECEIVER = value; } } /// /// /// 备注 /// [ModelDB] public string SUBJECT { get { return _SUBJECT; } set { _SUBJECT = value; } } /// [ModelDB] public string DESCRIPTION { get { return _DESCRIPTION; } set { _DESCRIPTION = value; } } /// /// [ModelDB] public string SIGNATURE { get { return _SIGNATURE; } set { _SIGNATURE = value; } } [ModelDB] public string SENDER { get { return _SENDER; } set { _SENDER = value; } } [ModelDB] public string SENDSERVICE { get { return _SENDSERVICE; } set { _SENDSERVICE = value; } } [ModelDB] public string SENDERUSERNAME { get { return _SENDERUSERNAME; } set { _SENDERUSERNAME = value; } } [ModelDB] public string SENDERPASSWORD { get { return _SENDERPASSWORD; } set { _SENDERPASSWORD = value; } } [ModelDB] public string SENDERPORT { get { return _SENDERPORT; } set { _SENDERPORT = value; } } [ModelDB] public string ATTACHMENT { get { return _ATTACHMENT; } set { _ATTACHMENT = value; } } [ModelDB] public string HTTPURL { get { return _HTTPURL; } set { _HTTPURL = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string SENDSTATUS { get { return _SENDSTATUS; } set { _SENDSTATUS = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public Int16 TRYCOUNT { get { return _TRYCOUNT; } set { _TRYCOUNT = value; } } /// #endregion } }