You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1019 B
C#

using SqlSugar;
using System;
namespace ZJ_BYD.Model
{
public class BaseModel
{
[SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnName = "createdtime", IsOnlyIgnoreUpdate = true)]
public DateTime? CreatedTime { get; set; }
/// <summary>
/// 创建人
/// </summary>
[SugarColumn(ColumnName = "createdby", IsOnlyIgnoreUpdate = true)]
public string CreatedBy { get; set; }
/// <summary>
/// 最后一次修改时间
/// </summary>
[SugarColumn(ColumnName = "updatedtime", IsOnlyIgnoreInsert = true)]
public DateTime? UpdatedTime { get; set; }
/// <summary>
/// 最后一次修改者Id
/// </summary>
[SugarColumn(ColumnName = "updatedby", IsOnlyIgnoreInsert = true)]
public string UpdatedBy { get; set; }
}
}