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