using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsCtBankStatement
{
[JsonObject]
public class MsCtBankStatement : ModelObjectBillHead
{
#region 读写属性
private string _gid = "";
///
/// GID
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _accgid = "";
///
/// 科目GID
///
[ModelDB]
public string ACCGID
{
get { return _accgid; }
set { _accgid = value; }
}
private string _fcyno = "";
///
/// 外币编号RMB
///
[ModelDB]
public string FCYNO
{
get { return _fcyno; }
set { _fcyno = value; }
}
private DateTime _voudate = DateTime.Now;
///
/// 结算日期
///
[ModelDB]
public DateTime VOUDATE
{
get { return _voudate; }
set { _voudate = value; }
}
private int _itemno = 0;
///
/// 当天序号
///
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public int ITEMNO
{
get { return _itemno; }
set { _itemno = value; }
}
private string _accdate = "";
///
/// 会计期间
///
[ModelDB]
public string ACCDATE
{
get { return _accdate; }
set { _accdate = value; }
}
private int _settletype = 0;
///
/// 结算方式
///
[ModelDB]
public int SETTLETYPE
{
get { return _settletype; }
set { _settletype = value; }
}
private string _billno = "";
///
/// 结算号
///
[ModelDB]
public string BILLNO
{
get { return _billno; }
set { _billno = value; }
}
private string _dc = "";
///
/// 余额方向
///
[ModelDB]
public string DC
{
get { return _dc; }
set { _dc = value; }
}
private decimal _dr = 0;
///
/// 银行借方
///
[ModelDB]
public decimal DR
{
get { return _dr; }
set { _dr = value; }
}
private decimal _cr = 0;
///
/// 银行贷方
///
[ModelDB]
public decimal CR
{
get { return _cr; }
set { _cr = value; }
}
private decimal _fcyexrate = 0;
///
/// 汇率
///
[ModelDB]
public decimal FCYEXRATE
{
get { return _fcyexrate; }
set { _fcyexrate = value; }
}
private decimal _blc = 0;
///
/// 余额
///
[ModelDB]
public decimal BLC
{
get { return _blc; }
set { _blc = value; }
}
private string _explan = "";
///
/// 摘要
///
[ModelDB]
public string EXPLAN
{
get { return _explan; }
set { _explan = value; }
}
private string _ENTERED = "";
///
/// 经手人
///
[ModelDB]
public string ENTERED
{
get { return _ENTERED; }
set { _ENTERED = value; }
}
private Boolean _ISINITIAL = false;
///
/// 是否期初
///
[ModelDB]
public Boolean ISINITIAL
{
get { return _ISINITIAL; }
set { _ISINITIAL = value; }
}
private bool _ISIMPORT = false;
///
/// 是否导入的数据
///
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public bool ISIMPORT
{
get { return _ISIMPORT; }
set { _ISIMPORT = value; }
}
private string _checkinggid = "";
///
/// 对账GID
///
[ModelDB]
public string CHECKINGGID
{
get { return _checkinggid; }
set { _checkinggid = value; }
}
private string _startgid = "";
///
/// 账套启用GID
///
[ModelDB]
public string STARTGID
{
get { return _startgid; }
set { _startgid = value; }
}
private string _corpid = "";
///
/// 分公司GID
///
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CORPID
{
get { return _corpid; }
set { _corpid = value; }
}
private string _createuser = "";
///
/// 制单人GID
///
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CREATEUSER
{
get { return _createuser; }
set { _createuser = value; }
}
private DateTime _createtime = DateTime.Now;
///
/// 创建时间
///
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public DateTime CREATETIME
{
get { return _createtime; }
set { _createtime = 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 _SETTLETYPENAME = "";
///
/// 结算方式
///
public string SETTLETYPENAME
{
get { return _SETTLETYPENAME; }
set { _SETTLETYPENAME = value; }
}
private string _CREATEUSERNAME = "";
///
/// 制单人
///
public string CREATEUSERNAME
{
get { return _CREATEUSERNAME; }
set { _CREATEUSERNAME = value; }
}
private string _MODIFIEDUSERNAME = "";
///
/// 最后一次更改操作人
///
public string MODIFIEDUSERNAME
{
get { return _MODIFIEDUSERNAME; }
set { _MODIFIEDUSERNAME = value; }
}
private string _ACCNAME = "";
///
/// ACCNAME
///
public string ACCNAME
{
get { return _ACCNAME; }
set { _ACCNAME = value; }
}
private string _ISCHECKING = "";
///
/// 对账状态
///
public string ISCHECKING
{
get { return _ISCHECKING; }
set { _ISCHECKING = value; }
}
private string _VOUDATE_C = "";
///
/// 对账日期
///
public string VOUDATE_C
{
get { return _VOUDATE_C; }
set { _VOUDATE_C = value; }
}
private string _ISIMPORTNAME = "";
///
/// 是否导入的数据
///
public string ISIMPORTNAME
{
get { return _ISIMPORTNAME; }
set { _ISIMPORTNAME = value; }
}
#endregion
public MsCtBankStatement()
{
TableName = "ct_bank_statement";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
//
}