42 lines
1.3 KiB
C#
42 lines
1.3 KiB
C#
|
|
namespace RIZO.Model.System
|
|||
|
|
{
|
|||
|
|
public class SysBase
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 创建人
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(IsOnlyIgnoreUpdate = true, Length = 64, IsNullable = true)]
|
|||
|
|
[JsonProperty(propertyName: "createBy")]
|
|||
|
|
[ExcelIgnore]
|
|||
|
|
public string Create_by { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 创建时间
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(IsOnlyIgnoreUpdate = true, IsNullable = true, InsertServerTime = true)]
|
|||
|
|
[JsonProperty(propertyName: "createTime")]
|
|||
|
|
[ExcelColumn(Format = "yyyy-MM-dd HH:mm:ss")]
|
|||
|
|
public DateTime Create_time { get; set; } = DateTime.Now;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 更新人
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonIgnore]
|
|||
|
|
[JsonProperty(propertyName: "updateBy")]
|
|||
|
|
[SugarColumn(IsOnlyIgnoreInsert = true, Length = 64, IsNullable = true)]
|
|||
|
|
[ExcelIgnore]
|
|||
|
|
public string Update_by { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 更新时间
|
|||
|
|
/// </summary>
|
|||
|
|
//[JsonIgnore]
|
|||
|
|
[SugarColumn(IsOnlyIgnoreInsert = true, IsNullable = true, UpdateServerTime = true)]
|
|||
|
|
[JsonProperty(propertyName: "updateTime")]
|
|||
|
|
[ExcelIgnore]
|
|||
|
|
public DateTime? Update_time { get; set; }
|
|||
|
|
[SugarColumn(Length = 500)]
|
|||
|
|
public string Remark { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|