|
|
|
|
using System;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsCtBankDeploy
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsCtBankDeploy : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region 读写属性
|
|
|
|
|
private string _gid = "*";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 惟一值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _gid; }
|
|
|
|
|
set { _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//private string _bankgid = "";
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 银行GID
|
|
|
|
|
///// </summary>
|
|
|
|
|
//[ModelDB]
|
|
|
|
|
//public string BANKGID
|
|
|
|
|
//{
|
|
|
|
|
// get { return _bankgid; }
|
|
|
|
|
// set { _bankgid = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
//private string _BANKNAME = "";
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 银行
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public string BANKNAME
|
|
|
|
|
//{
|
|
|
|
|
// get { return _BANKNAME; }
|
|
|
|
|
// set { _BANKNAME = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
private string _STARTROW = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 读取开始行
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string STARTROW
|
|
|
|
|
{
|
|
|
|
|
get { return _STARTROW; }
|
|
|
|
|
set { _STARTROW = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ACCGID = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 银行ACCGID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ACCGID
|
|
|
|
|
{
|
|
|
|
|
get { return _ACCGID; }
|
|
|
|
|
set { _ACCGID = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _FCYNO = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 外币编号RMB
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FCYNO
|
|
|
|
|
{
|
|
|
|
|
get { return _FCYNO; }
|
|
|
|
|
set { _FCYNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ACCNAME2 = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 银行ACCNAME
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ACCNAME2
|
|
|
|
|
{
|
|
|
|
|
get { return _ACCNAME2; }
|
|
|
|
|
set { _ACCNAME2 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _voudate;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 结算日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string VOUDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _voudate; }
|
|
|
|
|
set { _voudate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _VOUTIME;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 结算时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string VOUTIME
|
|
|
|
|
{
|
|
|
|
|
get { return _VOUTIME; }
|
|
|
|
|
set { _VOUTIME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _explan = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 摘要
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string EXPLAN
|
|
|
|
|
{
|
|
|
|
|
get { return _explan; }
|
|
|
|
|
set { _explan = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _dr = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 借方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DR
|
|
|
|
|
{
|
|
|
|
|
get { return _dr; }
|
|
|
|
|
set { _dr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _cr = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 贷方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CR
|
|
|
|
|
{
|
|
|
|
|
get { return _cr; }
|
|
|
|
|
set { _cr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _blc = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 余额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BLC
|
|
|
|
|
{
|
|
|
|
|
get { return _blc; }
|
|
|
|
|
set { _blc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _dc = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 借贷方向/交易类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DC
|
|
|
|
|
{
|
|
|
|
|
get { return _dc; }
|
|
|
|
|
set { _dc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _drgjz = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 借方关键字
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DRGJZ
|
|
|
|
|
{
|
|
|
|
|
get { return _drgjz; }
|
|
|
|
|
set { _drgjz = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _crgjz = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 贷方关键字
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CRGJZ
|
|
|
|
|
{
|
|
|
|
|
get { return _crgjz; }
|
|
|
|
|
set { _crgjz = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _STARTGID = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 账套启用GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
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 _MODIFIEDUSERNAME = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次更改操作人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string MODIFIEDUSERNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _MODIFIEDUSERNAME; }
|
|
|
|
|
set { _MODIFIEDUSERNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsCtBankDeploy()
|
|
|
|
|
{
|
|
|
|
|
TableName = "ct_bank_deploy";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "GID";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//
|
|
|
|
|
}
|