using System; using System.Data; using System.Collections; using System.Collections.Generic; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.RptCwPLEntity { [JsonObject] public class RptCwPLEntity : ModelObjectBillHead { public RptCwPLEntity() { TableName = "cw_PL_template"; } #region 读写属性 private string _gid = ""; /// /// 唯一编码 /// [ModelDB] public string GID { get { return _gid; } set { _gid = value; } } private string _TEMPLATE = ""; /// /// 模板名称 /// [ModelDB] public string TEMPLATE { get { return _TEMPLATE; } set { _TEMPLATE = value; } } private string _ACCDATE = ""; /// /// 会计期间 /// [ModelDB] public string ACCDATE { get { return _ACCDATE; } set { _ACCDATE = value; } } private int _linenum = 0; /// /// 行次 /// [ModelDB] public int LINENUM { get { return _linenum; } set { _linenum = value; } } private string _acctype = ""; /// /// 项目 /// [ModelDB] public string ACCTYPE { get { return _acctype; } set { _acctype = value; } } private string _qtylastblc = ""; /// /// 本年累计金额 /// [ModelDB] public string QTYLASTBLC { get { return _qtylastblc; } set { _qtylastblc = value; } } private string _QTYBLC = ""; /// /// 本月金额 /// [ModelDB] public string QTYBLC { get { return _QTYBLC; } set { _QTYBLC = value; } } private string _startgid = ""; /// /// 账套启用GID /// [ModelDB] public string STARTGID { get { return _startgid; } set { _startgid = value; } } private string _corpid = ""; /// /// 分公司代码 /// [ModelDB] public string CORPID { get { return _corpid; } set { _corpid = value; } } private string _modifieduser = ""; /// /// 更改操作人gid /// [ModelDB] public string MODIFIEDUSER { get { return _modifieduser; } set { _modifieduser = value; } } private DateTime _modifiedtime = DateTime.Now; /// /// 更改操作时间 /// [ModelDB] public DateTime MODIFIEDTIME { get { return _modifiedtime; } set { _modifiedtime = value; } } #endregion override public string GetBillNoFieldName() { return "GID"; } } [JsonObject] public class RptCwPLDetailEntity : ModelObjectBillHead { public RptCwPLDetailEntity() { TableName = "cw_PL_template_detail"; } #region 读写属性 private string _gid = ""; /// /// GID /// [ModelDB] public string GID { get { return _gid; } set { _gid = value; } } private string _linkgid = ""; /// /// 模板科目GID /// [ModelDB] public string LINKGID { get { return _linkgid; } set { _linkgid = value; } } private string _accgid = ""; /// /// 科目GID /// [ModelDB] public string ACCGID { get { return _accgid; } set { _accgid = value; } } private int _linenum; /// /// 运算顺序 /// public int LINENUM { get { return _linenum; } set { _linenum = value; } } private string _operators = ""; /// /// 运算符号 /// [ModelDB] public string OPERATORS { get { return _operators; } set { _operators = value; } } private decimal _qtylastblc = 0; /// /// 本年累计金额 /// [ModelDB] public decimal QTYLASTBLC { get { return _qtylastblc; } set { _qtylastblc = value; } } private decimal _QTYBLC = 0; /// /// 本月金额 /// [ModelDB] public decimal QTYBLC { get { return _QTYBLC; } set { _QTYBLC = value; } } private string _modifieduser = ""; /// /// 更改操作人gid /// [ModelDB] public string MODIFIEDUSER { get { return _modifieduser; } set { _modifieduser = value; } } private DateTime _modifiedtime = DateTime.Now; /// /// 更改操作时间 /// [ModelDB] public DateTime MODIFIEDTIME { get { return _modifiedtime; } set { _modifiedtime = value; } } private string _ACCNAME = ""; /// /// 科目名称 /// public string ACCNAME { get { return _ACCNAME; } set { _ACCNAME = value; } } private string _ACCDATE = ""; /// /// 会计期间 /// public string ACCDATE { get { return _ACCDATE; } set { _ACCDATE = value; } } private string _ACCIDNAME = ""; /// /// ACCIDNAME /// public string ACCIDNAME { get { return _ACCIDNAME; } set { _ACCIDNAME = value; } } #endregion override public string GetBillNoFieldName() { return "GID"; } } }