|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Areas.Account.Models.Chfee_cheque
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class ChCheque : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region 私有成员
|
|
|
|
|
private string _gid = String.Empty;//主键唯一值
|
|
|
|
|
private string _billno = "*";//主键唯一值
|
|
|
|
|
private string _customername;//
|
|
|
|
|
private string _CHEQUENO;//
|
|
|
|
|
private string _CHEQUECUSTNAME;//
|
|
|
|
|
private string _PAYSETTLEBILLNO;//
|
|
|
|
|
private string _CHEQUEMAKETIME = DateTime.Now.ToString("yyyy-MM-dd");
|
|
|
|
|
private string _MAKETIMEUPPER = "";
|
|
|
|
|
private string _year;
|
|
|
|
|
private string _month;
|
|
|
|
|
private string _day;
|
|
|
|
|
private string _YEARUPPER;
|
|
|
|
|
private string _MONTHUPPER;
|
|
|
|
|
private string _DAYUPPER;
|
|
|
|
|
private string _PURPOSE;
|
|
|
|
|
private string _PASSWORD;
|
|
|
|
|
private string _CHEQUECURRENCY = "RMB";
|
|
|
|
|
private string _baiyi;
|
|
|
|
|
private string _shiyi;
|
|
|
|
|
private string _yi;
|
|
|
|
|
private string _qianwan;
|
|
|
|
|
private string _baiwan;
|
|
|
|
|
private string _shiwan;
|
|
|
|
|
private string _wan;
|
|
|
|
|
private string _qian;
|
|
|
|
|
private string _bai;
|
|
|
|
|
private string _shi;
|
|
|
|
|
private string _yuan;
|
|
|
|
|
private string _jiao;
|
|
|
|
|
private string _fen;
|
|
|
|
|
|
|
|
|
|
private string _CHEQUETYPE="转账支票";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private decimal _CHEQUEAMOUNT = 0;
|
|
|
|
|
private string _CHEQUEAMOUNTUPPER = "";
|
|
|
|
|
private string _isdelete;
|
|
|
|
|
private string _deletetime = "";
|
|
|
|
|
private string _deleteoperator;//
|
|
|
|
|
private string _deloperatorname;//
|
|
|
|
|
private string _isprint;
|
|
|
|
|
private string _PAYBANK;
|
|
|
|
|
private string _PAYBANKACCOUNT;
|
|
|
|
|
private string _PAYEEBANK;
|
|
|
|
|
private string _PAYEEBANKACCOUNT;
|
|
|
|
|
private string _PAYEEADR;
|
|
|
|
|
|
|
|
|
|
private bool _ISAUDIT;//
|
|
|
|
|
private string _AUDITOPERATOR;//
|
|
|
|
|
private string _AUDITDATE = null;
|
|
|
|
|
private string _CREATEUSER;//
|
|
|
|
|
private string _CREATEUSERREF;//
|
|
|
|
|
private string _CREATETIME;//
|
|
|
|
|
private string _remark;//
|
|
|
|
|
private string _companyid;
|
|
|
|
|
private int _billstatus =2;
|
|
|
|
|
private string _billstatusref = "未锁定";
|
|
|
|
|
private string _BANKID;//
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public ChCheque()
|
|
|
|
|
{
|
|
|
|
|
TableName = "ch_fee_cheque";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键唯一值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _gid; }
|
|
|
|
|
set { _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BILLNO
|
|
|
|
|
{
|
|
|
|
|
get { return _billno; }
|
|
|
|
|
set { _billno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CUSTOMERNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _customername; }
|
|
|
|
|
set { _customername = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CHEQUENO
|
|
|
|
|
{
|
|
|
|
|
get { return _CHEQUENO; }
|
|
|
|
|
set { _CHEQUENO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CHEQUECUSTNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _CHEQUECUSTNAME; }
|
|
|
|
|
set { _CHEQUECUSTNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PAYSETTLEBILLNO
|
|
|
|
|
{
|
|
|
|
|
get { return _PAYSETTLEBILLNO; }
|
|
|
|
|
set { _PAYSETTLEBILLNO = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MAKETIMEUPPER
|
|
|
|
|
{
|
|
|
|
|
get { return _MAKETIMEUPPER; }
|
|
|
|
|
set { _MAKETIMEUPPER = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CHEQUEMAKETIME
|
|
|
|
|
{
|
|
|
|
|
get { return _CHEQUEMAKETIME; }
|
|
|
|
|
set { _CHEQUEMAKETIME = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string YEAR
|
|
|
|
|
{
|
|
|
|
|
get { return _year; }
|
|
|
|
|
set { _year = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MONTH
|
|
|
|
|
{
|
|
|
|
|
get { return _month; }
|
|
|
|
|
set { _month = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DAY
|
|
|
|
|
{
|
|
|
|
|
get { return _day; }
|
|
|
|
|
set { _day = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string YEARUPPER
|
|
|
|
|
{
|
|
|
|
|
get { return _YEARUPPER; }
|
|
|
|
|
set { _YEARUPPER = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MONTHUPPER
|
|
|
|
|
{
|
|
|
|
|
get { return _MONTHUPPER; }
|
|
|
|
|
set { _MONTHUPPER = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DAYUPPER
|
|
|
|
|
{
|
|
|
|
|
get { return _DAYUPPER; }
|
|
|
|
|
set { _DAYUPPER = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PURPOSE
|
|
|
|
|
{
|
|
|
|
|
get { return _PURPOSE; }
|
|
|
|
|
set { _PURPOSE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PASSWORD
|
|
|
|
|
{
|
|
|
|
|
get { return _PASSWORD; }
|
|
|
|
|
set { _PASSWORD = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CHEQUECURRENCY
|
|
|
|
|
{
|
|
|
|
|
get { return _CHEQUECURRENCY; }
|
|
|
|
|
set { _CHEQUECURRENCY = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CHEQUETYPE
|
|
|
|
|
{
|
|
|
|
|
get { return _CHEQUETYPE; }
|
|
|
|
|
set { _CHEQUETYPE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal CHEQUEAMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _CHEQUEAMOUNT; }
|
|
|
|
|
set { _CHEQUEAMOUNT = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CHEQUEAMOUNTUPPER
|
|
|
|
|
{
|
|
|
|
|
get { return _CHEQUEAMOUNTUPPER; }
|
|
|
|
|
set { _CHEQUEAMOUNTUPPER = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BAIYI
|
|
|
|
|
{
|
|
|
|
|
get { return _baiyi; }
|
|
|
|
|
set { _baiyi = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SHIYI
|
|
|
|
|
{
|
|
|
|
|
get { return _shiyi; }
|
|
|
|
|
set { _shiyi = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string YI
|
|
|
|
|
{
|
|
|
|
|
get { return _yi; }
|
|
|
|
|
set { _yi = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string QIANWAN
|
|
|
|
|
{
|
|
|
|
|
get { return _qianwan; }
|
|
|
|
|
set { _qianwan = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BAIWAN
|
|
|
|
|
{
|
|
|
|
|
get { return _baiwan; }
|
|
|
|
|
set { _baiwan = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SHIWAN
|
|
|
|
|
{
|
|
|
|
|
get { return _shiwan; }
|
|
|
|
|
set { _shiwan = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string WAN
|
|
|
|
|
{
|
|
|
|
|
get { return _wan; }
|
|
|
|
|
set { _wan = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string QIAN
|
|
|
|
|
{
|
|
|
|
|
get { return _qian; }
|
|
|
|
|
set { _qian = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BAI
|
|
|
|
|
{
|
|
|
|
|
get { return _bai; }
|
|
|
|
|
set { _bai = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SHI
|
|
|
|
|
{
|
|
|
|
|
get { return _shi; }
|
|
|
|
|
set { _shi = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string YUAN
|
|
|
|
|
{
|
|
|
|
|
get { return _yuan; }
|
|
|
|
|
set { _yuan = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string JIAO
|
|
|
|
|
{
|
|
|
|
|
get { return _jiao; }
|
|
|
|
|
set { _jiao = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FEN
|
|
|
|
|
{
|
|
|
|
|
get { return _fen; }
|
|
|
|
|
set { _fen = value; }
|
|
|
|
|
}
|
|
|
|
|
public string ISDELETE
|
|
|
|
|
{
|
|
|
|
|
get { return _isdelete; }
|
|
|
|
|
set { _isdelete = value; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string DELETEOPERATOR
|
|
|
|
|
{
|
|
|
|
|
get { return _deleteoperator; }
|
|
|
|
|
set { _deleteoperator = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string DELOPERATORNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _deloperatorname; }
|
|
|
|
|
set { _deloperatorname = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string DELETETIME
|
|
|
|
|
{
|
|
|
|
|
get { return _deletetime; }
|
|
|
|
|
set { _deletetime = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string ISPRINT
|
|
|
|
|
{
|
|
|
|
|
get { return _isprint; }
|
|
|
|
|
set { _isprint = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PAYBANK
|
|
|
|
|
{
|
|
|
|
|
get { return _PAYBANK; }
|
|
|
|
|
set { _PAYBANK = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PAYBANKACCOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _PAYBANKACCOUNT; }
|
|
|
|
|
set { _PAYBANKACCOUNT = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PAYEEBANK
|
|
|
|
|
{
|
|
|
|
|
get { return _PAYEEBANK; }
|
|
|
|
|
set { _PAYEEBANK = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PAYEEBANKACCOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _PAYEEBANKACCOUNT; }
|
|
|
|
|
set { _PAYEEBANKACCOUNT = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PAYEEADR
|
|
|
|
|
{
|
|
|
|
|
get { return _PAYEEADR; }
|
|
|
|
|
set { _PAYEEADR = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool ISAUDIT
|
|
|
|
|
{
|
|
|
|
|
get { return _ISAUDIT; }
|
|
|
|
|
set { _ISAUDIT = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string AUDITOPERATOR
|
|
|
|
|
{
|
|
|
|
|
get { return _AUDITOPERATOR; }
|
|
|
|
|
set { _AUDITOPERATOR = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string AUDITDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _AUDITDATE; }
|
|
|
|
|
set { _AUDITDATE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CREATEUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _CREATEUSER; }
|
|
|
|
|
set { _CREATEUSER = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string CREATEUSERREF
|
|
|
|
|
{
|
|
|
|
|
get { return _CREATEUSERREF; }
|
|
|
|
|
set { _CREATEUSERREF = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CREATETIME
|
|
|
|
|
{
|
|
|
|
|
get { return _CREATETIME; }
|
|
|
|
|
set { _CREATETIME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string COMPANYID
|
|
|
|
|
{
|
|
|
|
|
get { return _companyid; }
|
|
|
|
|
set { _companyid = value; }
|
|
|
|
|
}
|
|
|
|
|
//[ModelDB]
|
|
|
|
|
//public string SALECORPID { get; set; }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int BILLSTATUS
|
|
|
|
|
{
|
|
|
|
|
get { return _billstatus; }
|
|
|
|
|
set { _billstatus = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string BILLSTATUSREF
|
|
|
|
|
{
|
|
|
|
|
get { return _billstatusref; }
|
|
|
|
|
set { _billstatusref = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BANKID
|
|
|
|
|
{
|
|
|
|
|
get { return _BANKID; }
|
|
|
|
|
set { _BANKID = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
public string REMARK
|
|
|
|
|
{
|
|
|
|
|
get { return _remark; }
|
|
|
|
|
set { _remark = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class ChCheckNo
|
|
|
|
|
{
|
|
|
|
|
private string _Invno = "*";
|
|
|
|
|
public string INVNO
|
|
|
|
|
{
|
|
|
|
|
get { return _Invno; }
|
|
|
|
|
set { _Invno = value; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|