2022-12-08 16:53:47 +08:00
|
|
|
|
using MiniExcelLibs.Attributes;
|
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-06-07 22:28:06 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建人
|
|
|
|
|
|
/// </summary>
|
2023-05-23 16:21:04 +08:00
|
|
|
|
[SugarColumn(IsOnlyIgnoreUpdate = true, Length = 64, IsNullable = true)]
|
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; }
|
|
|
|
|
|
|
2023-06-10 18:26:18 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建时间
|
|
|
|
|
|
/// </summary>
|
2023-05-23 16:21:04 +08:00
|
|
|
|
[SugarColumn(IsOnlyIgnoreUpdate = true, IsNullable = 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;
|
|
|
|
|
|
|
2023-06-10 18:26:18 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新人
|
|
|
|
|
|
/// </summary>
|
2021-08-23 16:57:25 +08:00
|
|
|
|
[JsonIgnore]
|
|
|
|
|
|
[JsonProperty(propertyName: "UpdateBy")]
|
2023-05-23 16:21:04 +08:00
|
|
|
|
[SugarColumn(IsOnlyIgnoreInsert = true, Length = 64, IsNullable = true)]
|
2022-12-08 16:53:47 +08:00
|
|
|
|
[ExcelIgnore]
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public string Update_by { get; set; }
|
|
|
|
|
|
|
2023-06-10 18:26:18 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新时间
|
|
|
|
|
|
/// </summary>
|
2021-09-21 20:31:35 +08:00
|
|
|
|
//[JsonIgnore]
|
2023-05-23 16:21:04 +08:00
|
|
|
|
[SugarColumn(IsOnlyIgnoreInsert = true, IsNullable = 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; }
|
2023-05-23 16:21:04 +08:00
|
|
|
|
[SugarColumn(Length = 500)]
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public string Remark { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|