|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using DSWeb.Areas.Account.Models.Chfee_Invoice;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Areas.Account.Models.Chfee_Invoice_HangXin
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class ChInvoiceBook_HangXin : Chfee_Invoice.ChInvoiceBook
|
|
|
|
|
{
|
|
|
|
|
#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 _INVOICECODE = "";
|
|
|
|
|
private string _INVOICENUMSTART;
|
|
|
|
|
private string _INVOICENUMEND;
|
|
|
|
|
private int _INVOICETOTAL = 0;
|
|
|
|
|
private string _companyid;
|
|
|
|
|
private string _TYPE = "";
|
|
|
|
|
private string _isdelete;
|
|
|
|
|
private string _deletetime ="";
|
|
|
|
|
private string _DELETEUSER;//
|
|
|
|
|
private string _deloperatorname;//
|
|
|
|
|
private string _ISLOCK;
|
|
|
|
|
private string _DEFUSER;
|
|
|
|
|
private string _DEFUSERREF;
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public ChInvoiceBook_HangXin()
|
|
|
|
|
{
|
|
|
|
|
TableName = "ch_fee_invoicebooks";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
/*
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键唯一值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[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 INVOICECODE
|
|
|
|
|
{
|
|
|
|
|
get { return _INVOICECODE; }
|
|
|
|
|
set { _INVOICECODE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string INVOICENUMSTART
|
|
|
|
|
{
|
|
|
|
|
get { return _INVOICENUMSTART; }
|
|
|
|
|
set { _INVOICENUMSTART = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string INVOICENUMEND
|
|
|
|
|
{
|
|
|
|
|
get { return _INVOICENUMEND; }
|
|
|
|
|
set { _INVOICENUMEND = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int INVOICETOTAL
|
|
|
|
|
{
|
|
|
|
|
get { return _INVOICETOTAL; }
|
|
|
|
|
set { _INVOICETOTAL = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string ISDELETE
|
|
|
|
|
{
|
|
|
|
|
get { return _isdelete; }
|
|
|
|
|
set { _isdelete = value; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public string DELETEUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _DELETEUSER; }
|
|
|
|
|
set { _DELETEUSER = 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 DEFUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _DEFUSER; }
|
|
|
|
|
set { _DEFUSER = value; }
|
|
|
|
|
}
|
|
|
|
|
public string DEFUSERREF
|
|
|
|
|
{
|
|
|
|
|
get { return _DEFUSERREF; }
|
|
|
|
|
set { _DEFUSERREF = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string COMPANYID
|
|
|
|
|
{
|
|
|
|
|
get { return _companyid; }
|
|
|
|
|
set { _companyid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class ChInvoiceBookdetail_HangXin : Chfee_Invoice.ChInvoiceBookdetail
|
|
|
|
|
{
|
|
|
|
|
#region 私有成员
|
|
|
|
|
/*
|
|
|
|
|
private string _gid = String.Empty;//主键唯一值
|
|
|
|
|
private string _BOOKID;//
|
|
|
|
|
private string _INVOICENUM;//
|
|
|
|
|
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 ChInvoiceBookdetail_HangXin()
|
|
|
|
|
{
|
|
|
|
|
TableName = "ch_fee_invoiceitems";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
/*
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键唯一值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[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 INVOICENUM
|
|
|
|
|
{
|
|
|
|
|
get { return _INVOICENUM; }
|
|
|
|
|
set { _INVOICENUM = 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
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|