using System; using System.Data; using System.Collections; using System.Collections.Generic; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.Areas.Account.Models.ChMonthClose { [JsonObject] public class Period : ModelObjectBillHead { #region 私有成员 private string _period = "2015-01"; private int _PYEAR = 2015; private int _PMONTH =1; private string _FDAY = "2015-01-01"; private string _TDAY="2015-01-31";// private string _CLOSED = "F"; private string _CLOSEUSER = ""; private string _CLOSEUSERREF = ""; private string _CLOSEDATE = ""; private string _COMPANYID = ""; private string _CLOSEDATETYPE = ""; private string _closeperiod = "2014-12"; private int _CLOSEDAY =0; #endregion public Period() { TableName = "Period"; } #region 读写属性 /// /// 主键唯一值 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string PERIOD { get { return _period; } set { _period = value; } } [ModelDB] public int PYEAR { get { return _PYEAR; } set { _PYEAR = value; } } [ModelDB] public int PMONTH { get { return _PMONTH; } set { _PMONTH = value; } } [ModelDB] public string FDAY { get { return _FDAY; } set { _FDAY = value; } } [ModelDB] public string TDAY { get { return _TDAY; } set { _TDAY = value; } } [ModelDB] public string CLOSED { get { return _CLOSED; } set { _CLOSED = value; } } [ModelDB] public string CLOSEUSER { get { return _CLOSEUSER; } set { _CLOSEUSER = value; } } public string CLOSEUSERREF { get { return _CLOSEUSERREF; } set { _CLOSEUSERREF = value; } } [ModelDB] public string CLOSEDATE { get { return _CLOSEDATE; } set { _CLOSEDATE = value; } } [ModelDB] public string CLOSEDATETYPE { get { return _CLOSEDATETYPE; } set { _CLOSEDATETYPE = value; } } [ModelDB] public string COMPANYID { get { return _COMPANYID; } set { _COMPANYID = value; } } public int CLOSEDAY { get { return _CLOSEDAY; } set { _CLOSEDAY = value; } } public string CLOSEPERIOD { get { return _closeperiod; } set { _closeperiod = value; } } #endregion } }