You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/Areas/MvcShipping/Models/RptCwCfs/RptCwCfsEntity.cs

802 lines
19 KiB
C#

using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.RptCwCfsEntity
{
[JsonObject]
public class RptCwCfsEntity : ModelObjectBillHead
{
#region 读写属性
private string _gid = "";
/// <summary>
/// 唯一编码
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _modelgid = "";
/// <summary>
/// 方案GID
/// </summary>
[ModelDB]
public string MODELGID
{
get { return _modelgid; }
set { _modelgid = value; }
}
private string _itemgid = "";
/// <summary>
/// 项目GID
/// </summary>
[ModelDB]
public string ITEMGID
{
get { return _itemgid; }
set { _itemgid = value; }
}
private string _accdate = "";
/// <summary>
/// 会计期间
/// </summary>
[ModelDB]
public string ACCDATE
{
get { return _accdate; }
set { _accdate = value; }
}
private decimal _qtylastblc = 0;
/// <summary>
/// 本年累计余额
/// </summary>
[ModelDB]
public decimal QTYLASTBLC
{
get { return _qtylastblc; }
set { _qtylastblc = value; }
}
private decimal _qtyblc = 0;
/// <summary>
/// 本月金额
/// </summary>
[ModelDB]
public decimal QTYBLC
{
get { return _qtyblc; }
set { _qtyblc = value; }
}
private decimal _qtylastblc_s = 0;
/// <summary>
/// 本年累计余额(公式生成)
/// </summary>
[ModelDB]
public decimal QTYLASTBLC_S
{
get { return _qtylastblc_s; }
set { _qtylastblc_s = value; }
}
private decimal _qtyblc_s = 0;
/// <summary>
/// 本月金额(公式生成)
/// </summary>
[ModelDB]
public decimal QTYBLC_S
{
get { return _qtyblc_s; }
set { _qtyblc_s = value; }
}
private decimal _qtylastblc_h = 0;
/// <summary>
/// 本年累计余额(手动调整)
/// </summary>
[ModelDB]
public decimal QTYLASTBLC_H
{
get { return _qtylastblc_h; }
set { _qtylastblc_h = value; }
}
private decimal _qtyblc_h = 0;
/// <summary>
/// 本月金额(手动调整)
/// </summary>
[ModelDB]
public decimal QTYBLC_H
{
get { return _qtyblc_h; }
set { _qtyblc_h = value; }
}
private string _startgid = "";
/// <summary>
/// 账套启用GID
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string STARTGID
{
get { return _startgid; }
set { _startgid = value; }
}
private string _corpid = "";
/// <summary>
/// 分公司代码
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CORPID
{
get { return _corpid; }
set { _corpid = value; }
}
private string _modifieduser = "";
/// <summary>
/// 更改操作人gid
/// </summary>
[ModelDB]
public string MODIFIEDUSER
{
get { return _modifieduser; }
set { _modifieduser = value; }
}
private DateTime _modifiedtime = DateTime.Now;
/// <summary>
/// 更改操作时间
/// </summary>
[ModelDB]
public DateTime MODIFIEDTIME
{
get { return _modifiedtime; }
set { _modifiedtime = value; }
}
#endregion
public RptCwCfsEntity()
{
TableName = "cw_cfs_template";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
[JsonObject]
public class RptCwCfsDetailEntity : ModelObjectBillHead
{
#region 读写属性
private string _gid = "";
/// <summary>
/// 唯一编码
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _linkgid = "";
/// <summary>
/// 模板GID
/// </summary>
[ModelDB]
public string LINKGID
{
get { return _linkgid; }
set { _linkgid = value; }
}
private string _accgid = "";
/// <summary>
/// 科目GID
/// </summary>
[ModelDB]
public string ACCGID
{
get { return _accgid; }
set { _accgid = value; }
}
private string _operators = "";
/// <summary>
/// 运算符号
/// </summary>
[ModelDB]
public string OPERATORS
{
get { return _operators; }
set { _operators = value; }
}
private string _access = "";
/// <summary>
/// 取数规则
/// </summary>
[ModelDB]
public string ACCESS
{
get { return _access; }
set { _access = value; }
}
private decimal _qtylastblc = 0;
/// <summary>
/// 本年累计余额
/// </summary>
[ModelDB]
public decimal QTYLASTBLC
{
get { return _qtylastblc; }
set { _qtylastblc = value; }
}
private decimal _qtyblc = 0;
/// <summary>
/// 本月金额
/// </summary>
[ModelDB]
public decimal QTYBLC
{
get { return _qtyblc; }
set { _qtyblc = value; }
}
private string _modifieduser = "";
/// <summary>
/// 更改操作人gid
/// </summary>
[ModelDB]
public string MODIFIEDUSER
{
get { return _modifieduser; }
set { _modifieduser = value; }
}
private DateTime _modifiedtime = DateTime.Now;
/// <summary>
/// 更改操作时间
/// </summary>
[ModelDB]
public DateTime MODIFIEDTIME
{
get { return _modifiedtime; }
set { _modifiedtime = value; }
}
private string _ACCNAME = "";
/// <summary>
/// ACCNAME
/// </summary>
public string ACCNAME
{
get { return _ACCNAME; }
set { _ACCNAME = value; }
}
private string _ACCDATE = "";
/// <summary>
/// ACCDATE
/// </summary>
public string ACCDATE
{
get { return _ACCDATE; }
set { _ACCDATE = value; }
}
private string _ACCIDNAME = "";
/// <summary>
/// ACCIDNAME
/// </summary>
public string ACCIDNAME
{
get { return _ACCIDNAME; }
set { _ACCIDNAME = value; }
}
#endregion
public RptCwCfsDetailEntity()
{
TableName = "cw_cfs_template_detail";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
[JsonObject]
public class RptCwCfsModelEntity : ModelObjectBillHead
{
#region 读写属性
private string _gid = "";
/// <summary>
/// 唯一编码
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _modelname = "";
/// <summary>
/// 方案名称
/// </summary>
[ModelDB]
public string MODELNAME
{
get { return _modelname; }
set { _modelname = value; }
}
private bool _isdefault = false;
/// <summary>
/// 是否默认方案并不允许删除
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public bool ISDEFAULT
{
get { return _isdefault; }
set { _isdefault = value; }
}
private string _startgid = "";
/// <summary>
/// 账套启用GID
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string STARTGID
{
get { return _startgid; }
set { _startgid = value; }
}
private string _corpid = "";
/// <summary>
/// 分公司代码
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CORPID
{
get { return _corpid; }
set { _corpid = value; }
}
private string _modifieduser = "";
/// <summary>
/// 更改操作人gid
/// </summary>
[ModelDB]
public string MODIFIEDUSER
{
get { return _modifieduser; }
set { _modifieduser = value; }
}
private DateTime _modifiedtime = DateTime.Now;
/// <summary>
/// 更改操作时间
/// </summary>
[ModelDB]
public DateTime MODIFIEDTIME
{
get { return _modifiedtime; }
set { _modifiedtime = value; }
}
#endregion
public RptCwCfsModelEntity()
{
TableName = "cw_cfs_model";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
[JsonObject]
public class RptCwCfsModelItemEntity : ModelObjectBillHead
{
#region 读写属性
private string _gid = "";
/// <summary>
/// 唯一编码
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _modelgid = "";
/// <summary>
/// 方案GID
/// </summary>
[ModelDB]
public string MODELGID
{
get { return _modelgid; }
set { _modelgid = value; }
}
private string _itemname = "";
/// <summary>
/// 项目名称
/// </summary>
[ModelDB]
public string ITEMNAME
{
get { return _itemname; }
set { _itemname = value; }
}
private int _linenum = 0;
/// <summary>
/// 项目行次
/// </summary>
[ModelDB]
public int LINENUM
{
get { return _linenum; }
set { _linenum = value; }
}
private bool _detailed = false;
/// <summary>
/// 末级科目(标志)
/// </summary>
[ModelDB]
public bool DETAILED
{
get { return _detailed; }
set { _detailed = value; }
}
private bool _ISALTER = false;
/// <summary>
/// 是否允许修改项目
/// </summary>
[ModelDB]
public bool ISALTER
{
get { return _ISALTER; }
set { _ISALTER = value; }
}
private string _paccgid = "";
/// <summary>
/// 父级科目代码
/// </summary>
[ModelDB]
public string PACCGID
{
get { return _paccgid; }
set { _paccgid = value; }
}
private string _itemtype = "";
/// <summary>
/// 项目属性
/// </summary>
[ModelDB]
public string ITEMTYPE
{
get { return _itemtype; }
set { _itemtype = value; }
}
private string _modifieduser = "";
/// <summary>
/// 更改操作人gid
/// </summary>
[ModelDB]
public string MODIFIEDUSER
{
get { return _modifieduser; }
set { _modifieduser = value; }
}
private DateTime _modifiedtime = DateTime.Now;
/// <summary>
/// 更改操作时间
/// </summary>
[ModelDB]
public DateTime MODIFIEDTIME
{
get { return _modifiedtime; }
set { _modifiedtime = value; }
}
#endregion
public RptCwCfsModelItemEntity()
{
TableName = "cw_cfs_model_item";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
[JsonObject]
public class RptVWCwCfsTemplateModelItemEntity : ModelObjectBillHead
{
#region 读写属性
private string _gid = "";
/// <summary>
/// 唯一编码
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _modelgid = "";
/// <summary>
/// MODELGID
/// </summary>
[ModelDB]
public string MODELGID
{
get{ return _modelgid; }
set{ _modelgid = value; }
}
private string _itemgid = "";
/// <summary>
/// ITEMGID
/// </summary>
[ModelDB]
public string ITEMGID
{
get{ return _itemgid; }
set{ _itemgid = value; }
}
private string _accdate = "";
/// <summary>
/// ACCDATE
/// </summary>
[ModelDB]
public string ACCDATE
{
get{ return _accdate; }
set{ _accdate = value; }
}
private decimal _qtylastblc = 0;
/// <summary>
/// QTYLASTBLC
/// </summary>
[ModelDB]
public decimal QTYLASTBLC
{
get{ return _qtylastblc; }
set{ _qtylastblc = value; }
}
private decimal _qtyblc = 0;
/// <summary>
/// QTYBLC
/// </summary>
[ModelDB]
public decimal QTYBLC
{
get{ return _qtyblc; }
set{ _qtyblc = value; }
}
private decimal _qtylastblc_s = 0;
/// <summary>
/// QTYLASTBLC_S
/// </summary>
[ModelDB]
public decimal QTYLASTBLC_S
{
get{ return _qtylastblc_s; }
set{ _qtylastblc_s = value; }
}
private decimal _qtyblc_s = 0;
/// <summary>
/// QTYBLC_S
/// </summary>
[ModelDB]
public decimal QTYBLC_S
{
get{ return _qtyblc_s; }
set{ _qtyblc_s = value; }
}
private decimal _qtylastblc_h = 0;
/// <summary>
/// QTYLASTBLC_H
/// </summary>
[ModelDB]
public decimal QTYLASTBLC_H
{
get{ return _qtylastblc_h; }
set{ _qtylastblc_h = value; }
}
private decimal _qtyblc_h = 0;
/// <summary>
/// QTYBLC_H
/// </summary>
[ModelDB]
public decimal QTYBLC_H
{
get{ return _qtyblc_h; }
set{ _qtyblc_h = value; }
}
private string _startgid = "";
/// <summary>
/// STARTGID
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string STARTGID
{
get{ return _startgid; }
set{ _startgid = value; }
}
private string _corpid = "";
/// <summary>
/// CORPID
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CORPID
{
get{ return _corpid; }
set{ _corpid = value; }
}
private string _modifieduser = "";
/// <summary>
/// MODIFIEDUSER
/// </summary>
[ModelDB]
public string MODIFIEDUSER
{
get{ return _modifieduser; }
set{ _modifieduser = value; }
}
private DateTime _modifiedtime = DateTime.Now;
/// <summary>
/// MODIFIEDTIME
/// </summary>
[ModelDB]
public DateTime MODIFIEDTIME
{
get{ return _modifiedtime; }
set{ _modifiedtime = value; }
}
private string _modelname = "";
/// <summary>
/// MODELNAME
/// </summary>
[ModelDB]
public string MODELNAME
{
get{ return _modelname; }
set{ _modelname = value; }
}
private bool _isdefault = false;
/// <summary>
/// ISDEFAULT
/// </summary>
[ModelDB]
public bool ISDEFAULT
{
get{ return _isdefault; }
set{ _isdefault = value; }
}
private string _itemname = "";
/// <summary>
/// ITEMNAME
/// </summary>
[ModelDB]
public string ITEMNAME
{
get{ return _itemname; }
set{ _itemname = value; }
}
private int _linenum = 0;
/// <summary>
/// LINENUM
/// </summary>
[ModelDB]
public int LINENUM
{
get{ return _linenum; }
set{ _linenum = value; }
}
private bool _detailed = false;
/// <summary>
/// DETAILED
/// </summary>
[ModelDB]
public bool DETAILED
{
get{ return _detailed; }
set{ _detailed = value; }
}
private bool _isalter = false;
/// <summary>
/// ISALTER
/// </summary>
[ModelDB]
public bool ISALTER
{
get{ return _isalter; }
set{ _isalter = value; }
}
private string _paccgid = "";
/// <summary>
/// PACCGID
/// </summary>
[ModelDB]
public string PACCGID
{
get{ return _paccgid; }
set{ _paccgid = value; }
}
private string _itemtype = "";
/// <summary>
/// ITEMTYPE
/// </summary>
[ModelDB]
public string ITEMTYPE
{
get{ return _itemtype; }
set{ _itemtype = value; }
}
#endregion
public RptVWCwCfsTemplateModelItemEntity()
{
TableName = "VW_CwCfsTemplate_ModelItem";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
}