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 = "sys_message", DisableSyncStructure = true)] public partial class SysMessage { [JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)] public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper(); [JsonProperty] public DateTime? CREATETIME { get; set; } [JsonProperty] public DateTime? DELETETIME { get; set; } [JsonProperty, Column(DbType = "varchar(36)")] public string DELETEUSER { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string DESCRIPTION { get; set; } [JsonProperty] public bool? ISDELETE { get; set; } [JsonProperty] public bool? ISREAD { get; set; } [JsonProperty] public bool? ISSEND { get; set; } [JsonProperty] public DateTime? LASTREADTIME { get; set; } [JsonProperty, Column(DbType = "varchar(500)")] public string MESSAGECONTENT { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string NAME { get; set; } [JsonProperty, Column(IsIdentity = true)] public int NUMBER { get; set; } [JsonProperty] public int? READCOUNT { get; set; } [JsonProperty, Column(DbType = "varchar(36)")] public string RECEIVER { get; set; } [JsonProperty] public int RECVTYPE { get; set; } = 0; [JsonProperty, Column(DbType = "varchar(100)")] public string TASKID { get; set; } [JsonProperty, Column(DbType = "varchar(300)")] public string TASKURL { get; set; } [JsonProperty] public int? TYPE { get; set; } } }