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