/* *代码由框架生成,任何更改都可能导致被代码生成器覆盖 *如果数据库字段发生变化,请在代码生器重新生成此Model */ using SqlSugar; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; using VolPro.Entity.SystemModels; namespace VolPro.Entity.DomainModels { public partial class Sys_User { //此处配置字段(字段配置见此model的另一个partial),如果表中没有此字段请加上 [NotMapped]属性,否则会异常 /// ///是否在线 2023.12.10增加是否在线字段,显示用户在线状态,强制下线功能 /// [Display(Name = "是否在线")] [Column(TypeName = "int")] [NotMapped] [SugarColumn(IsIgnore = true)] public int IsOnline { get; set; } } }