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 ChChequeBook : ModelObjectBillHead
{
#region 私有成员
private string _gid = String.Empty;//主键唯一值
private string _name;//
private string _DESCRIPTION;//
private string _CREATEUSER;//
private string _CREATEUSERREF;//
private string _CREATETIME=DateTime.Now.ToString("yyyy-MM-dd");//
private string _CHEQUECODE = "";
private string _CHEQUENUMSTART;
private string _CHEQUENUMEND;
private int _CHEQUETOTAL = 0;
private string _companyid;
private string _CURRENCY="RMB";
private string _TYPE = "转账支票";
private string _isdelete;
private string _deletetime ="";
private string _deleteoperator;//
private string _deloperatorname;//
private string _ISLOCK;
private string _remark;//
private string _BANKID;//
private string _ACCOUNTNAME;//
#endregion
public ChChequeBook()
{
TableName = "ch_fee_chequebooks";
}
#region 读写属性
///
/// 主键唯一值
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
[ModelDB]
public string NAME
{
get { return _name; }
set { _name = value; }
}
[ModelDB]
public string DESCRIPTION
{
get { return _DESCRIPTION; }
set { _DESCRIPTION = 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 CHEQUECODE
{
get { return _CHEQUECODE; }
set { _CHEQUECODE = value; }
}
[ModelDB]
public string CHEQUENUMSTART
{
get { return _CHEQUENUMSTART; }
set { _CHEQUENUMSTART = value; }
}
[ModelDB]
public string CHEQUENUMEND
{
get { return _CHEQUENUMEND; }
set { _CHEQUENUMEND = value; }
}
[ModelDB]
public int CHEQUETOTAL
{
get { return _CHEQUETOTAL; }
set { _CHEQUETOTAL = value; }
}
public string ISDELETE
{
get { return _isdelete; }
set { _isdelete = value; }
}
public string DELETEUSER
{
get { return _deleteoperator; }
set { _deleteoperator = value; }
}
public string DELETEUSERREF
{
get { return _deloperatorname; }
set { _deloperatorname = value; }
}
public string DELETETIME
{
get { return _deletetime; }
set { _deletetime = value; }
}
public string ISLOCK
{
get { return _ISLOCK; }
set { _ISLOCK = value; }
}
[ModelDB]
public string TYPE
{
get { return _TYPE; }
set { _TYPE = value; }
}
[ModelDB]
public string CURRENCY
{
get { return _CURRENCY; }
set { _CURRENCY = value; }
}
[ModelDB]
public string COMPANYID
{
get { return _companyid; }
set { _companyid = value; }
}
[ModelDB]
public string BANKID
{
get { return _BANKID; }
set { _BANKID = value; }
}
public string ACCOUNTNAME
{
get { return _ACCOUNTNAME; }
set { _ACCOUNTNAME = value; }
}
#endregion
}
[JsonObject]
public class ChChequeBookdetail : ModelObjectBillHead
{
#region 私有成员
private string _gid = String.Empty;//主键唯一值
private string _BOOKID;//
private string _CHEQUENUM;//
private string _CREATEUSER;//
private string _CREATEUSERREF;//
private string _CREATETIME;//
private string _isdelete;
private string _deletetime = "";
private string _deleteoperator;//
private string _deloperatorname;//
private string _ISLOCK;
private string _ISMAKEOUT;
private string _MAKEOUTTIME = "";
private string _MAKEOUTUSER;//
private string _MAKEOUTUSERREF;//
#endregion
public ChChequeBookdetail()
{
TableName = "ch_fee_chequeitems";
}
#region 读写属性
///
/// 主键唯一值
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
[ModelDB]
public string BOOKID
{
get { return _BOOKID; }
set { _BOOKID = value; }
}
[ModelDB]
public string CHEQUENUM
{
get { return _CHEQUENUM; }
set { _CHEQUENUM = 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; }
}
public string ISDELETE
{
get { return _isdelete; }
set { _isdelete = value; }
}
public string DELETEUSER
{
get { return _deleteoperator; }
set { _deleteoperator = value; }
}
public string DELETEUSERREF
{
get { return _deloperatorname; }
set { _deloperatorname = value; }
}
public string DELETETIME
{
get { return _deletetime; }
set { _deletetime = value; }
}
public string ISLOCK
{
get { return _ISLOCK; }
set { _ISLOCK = value; }
}
public string ISMAKEOUT
{
get { return _ISMAKEOUT; }
set { _ISMAKEOUT = value; }
}
public string MAKEOUTUSER
{
get { return _MAKEOUTUSER; }
set { _MAKEOUTUSER = value; }
}
public string MAKEOUTUSERREF
{
get { return _MAKEOUTUSERREF; }
set { _MAKEOUTUSERREF = value; }
}
public string MAKEOUTTIME
{
get { return _MAKEOUTTIME; }
set { _MAKEOUTTIME = value; }
}
#endregion
}
[JsonObject]
public class ChInvoiceNo
{
private string _Invno = "*";
public string INVNO
{
get { return _Invno; }
set { _Invno = value; }
}
}
}