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.
312 lines
7.1 KiB
C#
312 lines
7.1 KiB
C#
using System;
|
|
using System.Data;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.Areas.Account.Models.Chfee_Invoice
|
|
{
|
|
|
|
[JsonObject]
|
|
public class ChInvoiceBook : 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 _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()
|
|
{
|
|
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 : ModelObjectBillHead
|
|
{
|
|
#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()
|
|
{
|
|
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
|
|
}
|
|
|
|
|
|
}
|