| New file |
| | |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace DocumentServiceAPI.Enum |
| | | { |
| | | public class BaseModel |
| | | { |
| | | /// <summary> |
| | | /// 创建时间 |
| | | /// </summary> |
| | | [Display(Name = "创建时间 ")] |
| | | [SugarColumn(ColumnDescription = "创建时间 ")] |
| | | public DateTime? CreatTime { get; set; } |
| | | /// <summary> |
| | | /// 创建人 |
| | | /// </summary> |
| | | [Display(Name = "创建人 ")] |
| | | [SugarColumn(ColumnDescription = "创建人 ")] |
| | | public DateTime? CreatBy { get; set; } |
| | | /// <summary> |
| | | /// 修改时间 |
| | | /// </summary> |
| | | [Display(Name = "修改时间 ")] |
| | | [SugarColumn(ColumnDescription = "修改时间 ")] |
| | | public DateTime? UpdataTime { get; set; } |
| | | /// <summary> |
| | | /// 修改人 |
| | | /// </summary> |
| | | [Display(Name = "修改人 ")] |
| | | [SugarColumn(ColumnDescription = "修改人 ")] |
| | | public DateTime? UpdataBy { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 排序 |
| | | /// </summary> |
| | | [Display(Name = "排序 ")] |
| | | [SugarColumn(ColumnDescription = "排序 ")] |
| | | public int? Sort { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 是否删除 |
| | | /// </summary> |
| | | [Display(Name = "是否删除 ")] |
| | | [SugarColumn(ColumnDescription = "是否删除 ")] |
| | | public bool IsDel { get; set; } = false; |
| | | |
| | | /// <summary> |
| | | /// 是否有效 |
| | | /// </summary> |
| | | [Display(Name = "是否有效 ")] |
| | | [SugarColumn(ColumnDescription = "是否有效 ")] |
| | | public bool IsEn { get; set; } = true; |
| | | } |
| | | } |