|
|
|
|
using System;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.RptCtGenlegAccitems
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class RptCtGenlegAccitems : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region 读写属性
|
|
|
|
|
private string _gid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 唯一编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _gid; }
|
|
|
|
|
set { _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _year = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 年
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string YEAR
|
|
|
|
|
{
|
|
|
|
|
get { return _year; }
|
|
|
|
|
set { _year = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _month = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 月
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MONTH
|
|
|
|
|
{
|
|
|
|
|
get { return _month; }
|
|
|
|
|
set { _month = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _day = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 日
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DAY
|
|
|
|
|
{
|
|
|
|
|
get { return _day; }
|
|
|
|
|
set { _day = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _linkgid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 科目GID(cw_accitems)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string LINKGID
|
|
|
|
|
{
|
|
|
|
|
get { return _linkgid; }
|
|
|
|
|
set { _linkgid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _currency = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 币别
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CURRENCY
|
|
|
|
|
{
|
|
|
|
|
get { return _currency; }
|
|
|
|
|
set { _currency = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _amtyeardr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// RMB年初借方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal AMTYEARDR
|
|
|
|
|
{
|
|
|
|
|
get { return _amtyeardr; }
|
|
|
|
|
set { _amtyeardr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _amtyearcr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// RMB年初贷方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal AMTYEARCR
|
|
|
|
|
{
|
|
|
|
|
get { return _amtyearcr; }
|
|
|
|
|
set { _amtyearcr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _amtyearblc = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// RMB年初余额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal AMTYEARBLC
|
|
|
|
|
{
|
|
|
|
|
get { return _amtyearblc; }
|
|
|
|
|
set { _amtyearblc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _amtdr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// RMB本月借方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal AMTDR
|
|
|
|
|
{
|
|
|
|
|
get { return _amtdr; }
|
|
|
|
|
set { _amtdr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _amtcr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// RMB本月贷方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal AMTCR
|
|
|
|
|
{
|
|
|
|
|
get { return _amtcr; }
|
|
|
|
|
set { _amtcr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _amtblc = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// RMB本月余额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal AMTBLC
|
|
|
|
|
{
|
|
|
|
|
get { return _amtblc; }
|
|
|
|
|
set { _amtblc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _amtlastdr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// RMB累计借方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal AMTLASTDR
|
|
|
|
|
{
|
|
|
|
|
get { return _amtlastdr; }
|
|
|
|
|
set { _amtlastdr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _amtlastcr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// RMB累计贷方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal AMTLASTCR
|
|
|
|
|
{
|
|
|
|
|
get { return _amtlastcr; }
|
|
|
|
|
set { _amtlastcr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _amtlastblc = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// RMB累计余额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal AMTLASTBLC
|
|
|
|
|
{
|
|
|
|
|
get { return _amtlastblc; }
|
|
|
|
|
set { _amtlastblc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _fcyyeardr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// USD年初借方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal FCYYEARDR
|
|
|
|
|
{
|
|
|
|
|
get { return _fcyyeardr; }
|
|
|
|
|
set { _fcyyeardr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _fcyyearcr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// USD年初贷方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal FCYYEARCR
|
|
|
|
|
{
|
|
|
|
|
get { return _fcyyearcr; }
|
|
|
|
|
set { _fcyyearcr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _fcyyearblc = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// USD年初余额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal FCYYEARBLC
|
|
|
|
|
{
|
|
|
|
|
get { return _fcyyearblc; }
|
|
|
|
|
set { _fcyyearblc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _fcydr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// USD本月借方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal FCYDR
|
|
|
|
|
{
|
|
|
|
|
get { return _fcydr; }
|
|
|
|
|
set { _fcydr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _fcycr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// USD本月贷方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal FCYCR
|
|
|
|
|
{
|
|
|
|
|
get { return _fcycr; }
|
|
|
|
|
set { _fcycr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _fcyblc = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// USD本月余额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal FCYBLC
|
|
|
|
|
{
|
|
|
|
|
get { return _fcyblc; }
|
|
|
|
|
set { _fcyblc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _fcylastdr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 外币累计借方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal FCYLASTDR
|
|
|
|
|
{
|
|
|
|
|
get { return _fcylastdr; }
|
|
|
|
|
set { _fcylastdr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _fcylastcr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 外币累计贷方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal FCYLASTCR
|
|
|
|
|
{
|
|
|
|
|
get { return _fcylastcr; }
|
|
|
|
|
set { _fcylastcr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _fcylastblc = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 外币累计余额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal FCYLASTBLC
|
|
|
|
|
{
|
|
|
|
|
get { return _fcylastblc; }
|
|
|
|
|
set { _fcylastblc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _qtyyeardr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 年初借方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal QTYYEARDR
|
|
|
|
|
{
|
|
|
|
|
get { return _qtyyeardr; }
|
|
|
|
|
set { _qtyyeardr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _qtyyearcr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 年初贷方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal QTYYEARCR
|
|
|
|
|
{
|
|
|
|
|
get { return _qtyyearcr; }
|
|
|
|
|
set { _qtyyearcr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _qtyyearblc = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 年初余额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal QTYYEARBLC
|
|
|
|
|
{
|
|
|
|
|
get { return _qtyyearblc; }
|
|
|
|
|
set { _qtyyearblc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _qtydr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本月借方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal QTYDR
|
|
|
|
|
{
|
|
|
|
|
get { return _qtydr; }
|
|
|
|
|
set { _qtydr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _qtycr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本月贷方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal QTYCR
|
|
|
|
|
{
|
|
|
|
|
get { return _qtycr; }
|
|
|
|
|
set { _qtycr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _qtyblc = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本月余额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal QTYBLC
|
|
|
|
|
{
|
|
|
|
|
get { return _qtyblc; }
|
|
|
|
|
set { _qtyblc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _qtylastdr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 累计借方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal QTYLASTDR
|
|
|
|
|
{
|
|
|
|
|
get { return _qtylastdr; }
|
|
|
|
|
set { _qtylastdr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _qtylastcr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 累计贷方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal QTYLASTCR
|
|
|
|
|
{
|
|
|
|
|
get { return _qtylastcr; }
|
|
|
|
|
set { _qtylastcr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _qtylastblc = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 累计余额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal QTYLASTBLC
|
|
|
|
|
{
|
|
|
|
|
get { return _qtylastblc; }
|
|
|
|
|
set { _qtylastblc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _isinitialentry = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否期初录入
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public bool IsInitialEntry
|
|
|
|
|
{
|
|
|
|
|
get { return _isinitialentry; }
|
|
|
|
|
set { _isinitialentry = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _corpid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 分公司代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string CORPID
|
|
|
|
|
{
|
|
|
|
|
get { return _corpid; }
|
|
|
|
|
set { _corpid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _createuser = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建人gid
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string CREATEUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _createuser; }
|
|
|
|
|
set { _createuser = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _createtime = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public DateTime CREATETIME
|
|
|
|
|
{
|
|
|
|
|
get { return _createtime; }
|
|
|
|
|
set { _createtime = 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 _accdate = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 会计期间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string ACCDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _accdate; }
|
|
|
|
|
set { _accdate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _startgid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 账套启用GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string STARTGID
|
|
|
|
|
{
|
|
|
|
|
get { return _startgid; }
|
|
|
|
|
set { _startgid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _LINKCODE = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 科目代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string LINKCODE
|
|
|
|
|
{
|
|
|
|
|
get { return _LINKCODE; }
|
|
|
|
|
set { _LINKCODE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _LINKNAME = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 科目名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string LINKNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _LINKNAME; }
|
|
|
|
|
set { _LINKNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _DC = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 余额方向
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DC
|
|
|
|
|
{
|
|
|
|
|
get { return _DC; }
|
|
|
|
|
set { _DC = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _DC2 = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 余额方向2
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DC2
|
|
|
|
|
{
|
|
|
|
|
get { return _DC2; }
|
|
|
|
|
set { _DC2 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _iDR = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// iDR
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string iDR
|
|
|
|
|
{
|
|
|
|
|
get { return _iDR; }
|
|
|
|
|
set { _iDR = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _iCR = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// iCR
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string iCR
|
|
|
|
|
{
|
|
|
|
|
get { return _iCR; }
|
|
|
|
|
set { _iCR = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public RptCtGenlegAccitems()
|
|
|
|
|
{
|
|
|
|
|
TableName = "ct_genleg_accitems";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "GID";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//
|
|
|
|
|
}
|