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.

183 lines
5.1 KiB
C#

using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
namespace DSWeb.Models
{
public class InvoiceBookEntity
{
#region 私有成员
private string _gid;//主键唯一值
private string _name;//发票系统名称
private string _description;//发票中文名称或描述信息
private string _create_user;//创建人
private DateTime _create_time;//创建时间
private string _modified_user;//最后一次更新操作人GID
private DateTime _modified_time;//最后一次更新操作时间
private string _invoice_code;//发票代码号
private string _invoice_num_start;//发票号起始值
private string _invoice_num_end;//发票号结束值
private int _invoice_total;//发票总数
private bool _is_lock;//发票是否被锁定
private bool _is_delete;//发票是否被删除
private string _delete_user;//删除操作人
private DateTime _delete_time;//删除时间
private string _company_id;//公司GID
private int _type;//发票类型
private IList<InvoiceBookItemEntity> _invoiceBookItemEntities;//发票信息
#endregion
public InvoiceBookEntity()
{
}
#region 读写属性
/// <summary>
/// 主键唯一值
/// </summary>
public string GID
{
get { return _gid; }
set { _gid = value; }
}
/// <summary>
/// 发票系统名称
/// </summary>
public string Name
{
get { return _name; }
set { _name = value; }
}
/// <summary>
/// 发票中文名称或描述信息
/// </summary>
public string Description
{
get { return _description; }
set { _description = value; }
}
/// <summary>
/// 创建人
/// </summary>
public string CreateUser
{
get { return _create_user; }
set { _create_user = value; }
}
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreateTime
{
get { return _create_time; }
set { _create_time = value; }
}
/// <summary>
/// 最后一次更新操作人GID
/// </summary>
public string ModifiedUser
{
get { return _modified_user; }
set { _modified_user = value; }
}
/// <summary>
/// 最后一次更新操作时间
/// </summary>
public DateTime ModifiedTime
{
get { return _modified_time; }
set { _modified_time = value; }
}
/// <summary>
/// 发票代码号
/// </summary>
public string InvoiceCode
{
get { return _invoice_code; }
set { _invoice_code = value; }
}
/// <summary>
/// 发票号起始值
/// </summary>
public string InvoiceNumStart
{
get { return _invoice_num_start; }
set { _invoice_num_start = value; }
}
/// <summary>
/// 发票号结束值
/// </summary>
public string InvoiceNumEnd
{
get { return _invoice_num_end; }
set { _invoice_num_end = value; }
}
/// <summary>
/// 发票总数
/// </summary>
public int InvoiceTotal
{
get { return _invoice_total; }
set { _invoice_total = value; }
}
/// <summary>
/// 发票是否被锁定
/// </summary>
public bool IsLock
{
get { return _is_lock; }
set { _is_lock = value; }
}
/// <summary>
/// 发票是否被删除
/// </summary>
public bool IsDelete
{
get { return _is_delete; }
set { _is_delete = value; }
}
/// <summary>
/// 删除操作人
/// </summary>
public string DeleteUser
{
get { return _delete_user; }
set { _delete_user = value; }
}
/// <summary>
/// 删除时间
/// </summary>
public DateTime DeleteTime
{
get { return _delete_time; }
set { _delete_time = value; }
}
/// <summary>
/// 公司GID
/// </summary>
public string CompanyID
{
get { return _company_id; }
set { _company_id = value; }
}
/// <summary>
/// 发票类型
/// </summary>
public int Type
{
get { return _type; }
set { _type = value; }
}
/// <summary>
/// 发票信息
/// </summary>
public IList<InvoiceBookItemEntity> InvoiceBookItemEntities
{
get { return _invoiceBookItemEntities; }
set { _invoiceBookItemEntities = value; }
}
#endregion
}
}