/***********************************************************************
* Project: baifenBinfa
* ProjectName: 百分兵法管理系统
* Web: http://chuanyin.com
* Author:
* Email: 34161541@qq.com
* CreateTime: 2024-03-01 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
///
/// 发票信息记录
///
[SugarTable("CoreCmsInvoiceRecord",TableDescription = "发票信息记录")]
public partial class CoreCmsInvoiceRecord
{
///
/// 发票信息记录
///
public CoreCmsInvoiceRecord()
{
}
///
/// 序列
///
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
///
/// 发票抬头
///
[Display(Name = "发票抬头")]
[SugarColumn(ColumnDescription = "发票抬头")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(80, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String name { get; set; }
///
/// 发票税号
///
[Display(Name = "发票税号")]
[SugarColumn(ColumnDescription = "发票税号")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(30, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String code { get; set; }
///
/// 被使用次数
///
[Display(Name = "被使用次数")]
[SugarColumn(ColumnDescription = "被使用次数")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 frequency { get; set; }
}
}