using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SqlSugar; using WIDESEAWCS_Core.DB.Models; namespace WIDESEAWCS_Model.Models { [SugarTable("Dt_Loginhsy", "登入记录")] //('数据库表名','数据库表备注') public class Dt_Loginhsy: BaseEntity { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int ID { get; set; } /// /// 用户姓名 /// [SugarColumn( IsNullable = true,Length =50, ColumnDescription = "用户姓名")] public string UserName { get; set; } /// /// 登入时间 /// [SugarColumn(IsNullable = true, ColumnDescription = "登入时间")] public DateTime LoginTiem { get; set; } /// /// 退出时间 /// [SugarColumn(IsNullable = true, ColumnDescription = "退出时间")] public DateTime?OutTiem { get; set; } /// /// 操作内容 /// [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "操作内容")] public string? OpCenten { get; set; } } }