using FreeSql.DatabaseModel;using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Newtonsoft.Json; using FreeSql.DataAnnotations; namespace djy.Model { [JsonObject(MemberSerialization.OptIn), Table(Name = "user_session", DisableSyncStructure = true)] public partial class UserSession { [JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)] public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper(); [JsonProperty, Column(InsertValueSql = "getdate()")] public DateTime? CREATETIME { get; set; } [JsonProperty, Column(DbType = "varchar(36)")] public string CREATEUSER { get; set; } [JsonProperty] public DateTime? DELETETIME { get; set; } [JsonProperty] public int? EXPIRESMINS { get; set; } = 0; [JsonProperty] public bool? ISDELETE { get; set; } = false; [JsonProperty, Column(DbType = "varchar(36)")] public string SESSIONID { get; set; } [JsonProperty] public int? TYPE { get; set; } } }