using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsOpAmend { [JsonObject] public class MsOpAmend : ModelObjectBillHead { #region 私有成员 private string _GID = Guid.NewGuid().ToString(); private string _BSNO = "*";//业务编号 private string _PARENTID = "*";//业务编号 private string _ACCDATE = ""; private bool _FEESTATUS = false; private string _FEESTATUSREF = "未锁定"; private string _AMENDNO = ""; private string _REASON = ""; private string _SALE = ""; private string _REMARKS = ""; private string _CREATETIME = "";//录入日期 private string _CREATEUSER = ""; #endregion #region 读写属性 /// /// 业务编号 /// /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string BSNO { get { return _BSNO; } set { _BSNO = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string PARENTID { get { return _PARENTID; } set { _PARENTID = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public bool FEESTATUS { get { return _FEESTATUS; } set { _FEESTATUS = value; } } public string FEESTATUSREF { get { return _FEESTATUSREF; } set { _FEESTATUSREF = value; } } /// /// 录入日期 /// [ModelDB] public string ACCDATE { get { return _ACCDATE; } set { _ACCDATE = value; } } [ModelDB] public string REASON { get { return _REASON; } set { _REASON = value; } } [ModelDB] public string SALE { get { return _SALE; } set { _SALE = value; } } [ModelDB] public string AMENDNO { get { return _AMENDNO; } set { _AMENDNO = value; } } [ModelDB] public string REMARKS { get { return _REMARKS; } set { _REMARKS = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } } public string BillFeeStatus { get; set; } public string BILLFEESTATUSTIME { get; set; } public int SLNO { get; set; } #endregion public MsOpAmend() { TableName = "op_amend"; } override public string GetBillNoFieldName() { return "BSNO"; } } #region 参照部分 #endregion }