using System; using System.Data; using System.Collections; using System.Collections.Generic; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsCodeSgAuditRule { public class CodeSgAuditRuleGroup { public string SGANO; public List CodeSgAuditRuleList { get; set; } } [JsonObject] public class CodeSgAuditRule : ModelObjectBillHead { #region 私有成员 private string _GID = Guid.NewGuid().ToString();//业务编号 private string _BSTYPE;// private string _FIELDNAME;// private string _FIELDNAMEREF;// private string _CORPID; private string _COMPARE; private string _COMPARETYPE; private string _VALUE; private string _VALUEREF; #endregion public CodeSgAuditRule() { TableName = "code_sgauditrule"; } #region 读写属性 /// /// 主键唯一值 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string BSTYPE { get { return _BSTYPE; } set { _BSTYPE = value; } } [ModelDB] public string FIELDNAME { get { return _FIELDNAME; } set { _FIELDNAME = value; } } public string FIELDNAMEREF { get { return _FIELDNAMEREF; } set { _FIELDNAMEREF = value; } } [ModelDB] public string CORPID { get { return _CORPID; } set { _CORPID = value; } } [ModelDB] public string COMPARE { get { return _COMPARE; } set { _COMPARE = value; } } [ModelDB] public string COMPARETYPE { get { return _COMPARETYPE; } set { _COMPARETYPE = value; } } [ModelDB] public string VALUE { get { return _VALUE; } set { _VALUE = value; } } public string VALUEREF { get { return _VALUEREF; } set { _VALUEREF = value; } } [ModelDB] public string SGANO { get; set; } [ModelDB] public string WARNINGSTR { get; set; } #endregion } }