2022-12-08 16:53:47 +08:00
|
|
|
|
using MiniExcelLibs.Attributes;
|
2021-08-23 16:57:25 +08:00
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
using SqlSugar;
|
2022-12-08 16:53:47 +08:00
|
|
|
|
using System;
|
2021-08-23 16:57:25 +08:00
|
|
|
|
|
|
|
|
|
|
namespace ZR.Model.System
|
|
|
|
|
|
{
|
2022-12-08 16:53:47 +08:00
|
|
|
|
//[EpplusTable(PrintHeaders = true, AutofitColumns = true, AutoCalculate = true, ShowTotal = true)]
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public class SysBase
|
|
|
|
|
|
{
|
2023-05-15 19:52:54 +08:00
|
|
|
|
[SugarColumn(IsOnlyIgnoreUpdate = true, Length = 64)]
|
2021-08-23 16:57:25 +08:00
|
|
|
|
[JsonProperty(propertyName: "CreateBy")]
|
2022-12-08 16:53:47 +08:00
|
|
|
|
[ExcelIgnore]
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public string Create_by { get; set; }
|
|
|
|
|
|
|
2022-12-08 16:53:47 +08:00
|
|
|
|
[SugarColumn(IsOnlyIgnoreUpdate = true)]
|
2021-08-23 16:57:25 +08:00
|
|
|
|
[JsonProperty(propertyName: "CreateTime")]
|
2022-12-08 16:53:47 +08:00
|
|
|
|
[ExcelColumn(Format = "yyyy-MM-dd HH:mm:ss")]
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public DateTime Create_time { get; set; } = DateTime.Now;
|
|
|
|
|
|
|
|
|
|
|
|
[JsonIgnore]
|
|
|
|
|
|
[JsonProperty(propertyName: "UpdateBy")]
|
2023-05-15 19:52:54 +08:00
|
|
|
|
[SugarColumn(IsOnlyIgnoreInsert = true, Length = 64)]
|
2022-12-08 16:53:47 +08:00
|
|
|
|
[ExcelIgnore]
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public string Update_by { get; set; }
|
|
|
|
|
|
|
2021-09-21 20:31:35 +08:00
|
|
|
|
//[JsonIgnore]
|
2022-12-08 16:53:47 +08:00
|
|
|
|
[SugarColumn(IsOnlyIgnoreInsert = true)]
|
2021-08-23 16:57:25 +08:00
|
|
|
|
[JsonProperty(propertyName: "UpdateTime")]
|
2022-12-08 16:53:47 +08:00
|
|
|
|
[ExcelIgnore]
|
2021-09-23 10:15:50 +08:00
|
|
|
|
public DateTime? Update_time { get; set; }
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public string Remark { get; set; }
|
|
|
|
|
|
[SugarColumn(IsIgnore = true)]
|
|
|
|
|
|
[JsonIgnore]
|
2022-12-08 16:53:47 +08:00
|
|
|
|
[ExcelIgnore]
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public DateTime? BeginTime { get; set; }
|
|
|
|
|
|
[SugarColumn(IsIgnore = true)]
|
|
|
|
|
|
[JsonIgnore]
|
2022-12-08 16:53:47 +08:00
|
|
|
|
[ExcelIgnore]
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public DateTime? EndTime { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|