using System; using System.Collections.Generic; using System.Linq; using System.Web; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.Areas.OA.Models.DeptFundsLimit { [JsonObject] public class DeptFundsLimitmb : ModelObjectBillBody { private string _GID = string.Empty; private string _DEPTID = string.Empty; private string _DEPTNAME = string.Empty; private string _COMPANYID = string.Empty; private string _Limit_1 = string.Empty; private string _Limit_2 = string.Empty; private string _Limit_3 = string.Empty; private string _INSERTED = string.Empty; [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string DEPTID { get { return _DEPTID; } set { _DEPTID = value; } } public string DEPTNAME { get { return _DEPTNAME; } set { _DEPTNAME = value; } } public string COMPANYID { get { return _COMPANYID; } set { _COMPANYID = value; } } [ModelDB] public string Limit_1 { get { return _Limit_1; } set { _Limit_1 = value; } } [ModelDB] public string Limit_2 { get { return _Limit_2; } set { _Limit_2 = value; } } [ModelDB] public string Limit_3 { get { return _Limit_3; } set { _Limit_3 = value; } } public string INSERTED { get { return _INSERTED; } set { _INSERTED = value; } } public DeptFundsLimitmb() { TableName = "OA_DeptFundsLimit"; } override public string GetBillNoFieldName() { return "INSERTED"; } } [JsonObject] public class BLNOmb : ModelObjectBillHead { private string _BLNO = string.Empty; public string BLNO { get { return _BLNO; } set { _BLNO = value; } } } }