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