123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- using MiniExcelLibs.Attributes;
- using Newtonsoft.Json;
- namespace Model
- {
- //[EpplusTable(PrintHeaders = true, AutofitColumns = true, AutoCalculate = true, ShowTotal = true)]
- public class SysBase
- {
- /// <summary>
- /// ID
- /// </summary>
- [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
- public int Id { get; set; }
- /// <summary>
- /// 排序
- /// </summary>
- [SugarColumn(ColumnDescription = "排序", DefaultValue = "0", ColumnName = "sort")]
- public int Sort { get; set; }
- /// <summary>
- /// 状态
- /// </summary>
- [SugarColumn(ColumnDescription = "状态", DefaultValue = "0", ColumnName = "status")]
- public int Status { get; set; }
- /// <summary>
- /// 版本号
- /// </summary>
- [SugarColumn(ColumnDescription = "版本号", DefaultValue = "0", ColumnName = "version")]
- public int Version { get; set; }
- /// <summary>
- /// 发布时间
- /// </summary>
- [SugarColumn(ColumnDescription = "发布时间", ColumnName = "create_date")]
- public DateTime? CreateDate { get; set; }
- /// <summary>
- /// 更新时间
- /// </summary>
- [SugarColumn(ColumnDescription = "更新时间", ColumnName = "update_date")]
- public DateTime? UpdateDate { get; set; }
- }
- }
|