using System; using System.Collections.Generic; using System.Linq; using SqlSugar; namespace Yi.Framework.Model.Models { /// /// /// [SugarTable("User")] public partial class UserEntity:IBaseModelEntity { public BaseModelEntity() { this.IsDeleted = false; this.CreateTime = DateTime.Now; } /// /// /// [SugarColumn(ColumnName="Id" ,IsPrimaryKey = true )] public long Id { get; set; } /// /// /// [SugarColumn(ColumnName="Name" )] public string Name { get; set; } /// /// /// [SugarColumn(ColumnName="Age" )] public int? Age { get; set; } /// /// /// [SugarColumn(ColumnName="CreateUser" )] public long? CreateUser { get; set; } /// /// /// [SugarColumn(ColumnName="CreateTime" )] public DateTime? CreateTime { get; set; } /// /// /// [SugarColumn(ColumnName="ModifyUser" )] public long? ModifyUser { get; set; } /// /// /// [SugarColumn(ColumnName="ModifyTime" )] public DateTime? ModifyTime { get; set; } /// /// /// [SugarColumn(ColumnName="IsDeleted" )] public bool? IsDeleted { get; set; } /// /// /// [SugarColumn(ColumnName="TenantId" )] public long? TenantId { get; set; } /// /// /// [SugarColumn(ColumnName="UserName" )] public string UserName { get; set; } /// /// /// [SugarColumn(ColumnName="Password" )] public string Password { get; set; } /// /// /// [SugarColumn(ColumnName="Salt" )] public string Salt { get; set; } } }