|
|
|
|
using System;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsCtBankJournal
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsCtBankJournal : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region 读写属性
|
|
|
|
|
private string _gid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 惟一值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _gid; }
|
|
|
|
|
set { _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _accgid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 科目GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ACCGID
|
|
|
|
|
{
|
|
|
|
|
get { return _accgid; }
|
|
|
|
|
set { _accgid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _fcyno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 外币编号usd
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FCYNO
|
|
|
|
|
{
|
|
|
|
|
get { return _fcyno; }
|
|
|
|
|
set { _fcyno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _voudate = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 凭证日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public DateTime VOUDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _voudate; }
|
|
|
|
|
set { _voudate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _itemno = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 当日序号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public int ITEMNO
|
|
|
|
|
{
|
|
|
|
|
get { return _itemno; }
|
|
|
|
|
set { _itemno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _vgid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 凭证明细GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string VGID
|
|
|
|
|
{
|
|
|
|
|
get { return _vgid; }
|
|
|
|
|
set { _vgid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _vkno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 凭证字
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string VKNO
|
|
|
|
|
{
|
|
|
|
|
get { return _vkno; }
|
|
|
|
|
set { _vkno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _vouno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 凭证号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string VOUNO
|
|
|
|
|
{
|
|
|
|
|
get { return _vouno; }
|
|
|
|
|
set { _vouno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _fentryid = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 分录号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int FENTRYID
|
|
|
|
|
{
|
|
|
|
|
get { return _fentryid; }
|
|
|
|
|
set { _fentryid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _accdate = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 会计期间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ACCDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _accdate; }
|
|
|
|
|
set { _accdate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _settletype = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 结算方式
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int SETTLETYPE
|
|
|
|
|
{
|
|
|
|
|
get { return _settletype; }
|
|
|
|
|
set { _settletype = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _billno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 结算号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BILLNO
|
|
|
|
|
{
|
|
|
|
|
get { return _billno; }
|
|
|
|
|
set { _billno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _svoudate = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 结算日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public DateTime SVOUDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _svoudate; }
|
|
|
|
|
set { _svoudate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _dc = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 余额方向
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DC
|
|
|
|
|
{
|
|
|
|
|
get { return _dc; }
|
|
|
|
|
set { _dc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _dr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本位币借方金额(互斥)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal DR
|
|
|
|
|
{
|
|
|
|
|
get { return _dr; }
|
|
|
|
|
set { _dr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _cr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本位币贷方金额(互斥)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal CR
|
|
|
|
|
{
|
|
|
|
|
get { return _cr; }
|
|
|
|
|
set { _cr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _fcyexrate = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 汇率
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal FCYEXRATE
|
|
|
|
|
{
|
|
|
|
|
get { return _fcyexrate; }
|
|
|
|
|
set { _fcyexrate = 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 _blc = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 余额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal BLC
|
|
|
|
|
{
|
|
|
|
|
get { return _blc; }
|
|
|
|
|
set { _blc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _explan = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 摘要,规则生成
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string EXPLAN
|
|
|
|
|
{
|
|
|
|
|
get { return _explan; }
|
|
|
|
|
set { _explan = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _entered = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 经手人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ENTERED
|
|
|
|
|
{
|
|
|
|
|
get { return _entered; }
|
|
|
|
|
set { _entered = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private Boolean _ISINITIAL = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否期初
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public Boolean ISINITIAL
|
|
|
|
|
{
|
|
|
|
|
get { return _ISINITIAL; }
|
|
|
|
|
set { _ISINITIAL = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _checkinggid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 对账GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CHECKINGGID
|
|
|
|
|
{
|
|
|
|
|
get { return _checkinggid; }
|
|
|
|
|
set { _checkinggid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _startgid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 账套启用GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string STARTGID
|
|
|
|
|
{
|
|
|
|
|
get { return _startgid; }
|
|
|
|
|
set { _startgid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _corpid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 分公司GID
|
|
|
|
|
/// </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 _SETTLETYPENAME = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 结算方式
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SETTLETYPENAME
|
|
|
|
|
{
|
|
|
|
|
get { return _SETTLETYPENAME; }
|
|
|
|
|
set { _SETTLETYPENAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _CREATEUSERNAME = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 制单人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CREATEUSERNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _CREATEUSERNAME; }
|
|
|
|
|
set { _CREATEUSERNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _MODIFIEDUSERNAME = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次更改操作人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string MODIFIEDUSERNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _MODIFIEDUSERNAME; }
|
|
|
|
|
set { _MODIFIEDUSERNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ACCNAME = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ACCNAME
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ACCNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _ACCNAME; }
|
|
|
|
|
set { _ACCNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ISCHECKING = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 对账状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ISCHECKING
|
|
|
|
|
{
|
|
|
|
|
get { return _ISCHECKING; }
|
|
|
|
|
set { _ISCHECKING = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _VOUDATE_C = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 对账日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VOUDATE_C
|
|
|
|
|
{
|
|
|
|
|
get { return _VOUDATE_C; }
|
|
|
|
|
set { _VOUDATE_C = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _QTYBLC = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本位币余额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal QTYBLC
|
|
|
|
|
{
|
|
|
|
|
get { return _QTYBLC; }
|
|
|
|
|
set { _QTYBLC = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsCtBankJournal()
|
|
|
|
|
{
|
|
|
|
|
TableName = "ct_bank_journal";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "GID";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//
|
|
|
|
|
}
|