using System; using System.Data; using System.Collections; using System.Collections.Generic; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsCodeOpMustField { [JsonObject] public class CodeOpMustField : ModelObjectBillHead { #region 私有成员 private string _GID = Guid.NewGuid().ToString();//业务编号 private string _BSTYPE;// private string _FIELDNAME;// private string _CORPID; private string _ISMUST; private string _ISCOLOR; private string _ISREADONLY; #endregion public CodeOpMustField() { TableName = "code_opmustfield"; } #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; } } [ModelDB] public string CORPID { get { return _CORPID; } set { _CORPID = value; } } [ModelDB] public string ISMUST { get { return _ISMUST; } set { _ISMUST = value; } } [ModelDB] public string ISCOLOR { get { return _ISCOLOR; } set { _ISCOLOR = value; } } [ModelDB] public string ISREADONLY { get { return _ISREADONLY; } set { _ISREADONLY = value; } } #endregion } }