You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
358 lines
8.4 KiB
C#
358 lines
8.4 KiB
C#
using System;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsCtBankStatement
|
|
{
|
|
[JsonObject]
|
|
public class MsCtBankStatement : ModelObjectBillHead
|
|
{
|
|
#region 读写属性
|
|
private string _gid = "";
|
|
/// <summary>
|
|
/// GID
|
|
/// </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>
|
|
/// 外币编号RMB
|
|
/// </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 _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 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 _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 bool _ISIMPORT = false;
|
|
/// <summary>
|
|
/// 是否导入的数据
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public bool ISIMPORT
|
|
{
|
|
get { return _ISIMPORT; }
|
|
set { _ISIMPORT = 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 string _ISIMPORTNAME = "";
|
|
/// <summary>
|
|
/// 是否导入的数据
|
|
/// </summary>
|
|
public string ISIMPORTNAME
|
|
{
|
|
get { return _ISIMPORTNAME; }
|
|
set { _ISIMPORTNAME = value; }
|
|
}
|
|
#endregion
|
|
|
|
public MsCtBankStatement()
|
|
{
|
|
TableName = "ct_bank_statement";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "GID";
|
|
}
|
|
}
|
|
//
|
|
}
|