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 = "templet", DisableSyncStructure = true)] public partial class Templet { [JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)] public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper(); [JsonProperty] public bool? HASCHILD { get; set; } [JsonProperty] public bool? HASIMG { get; set; } [JsonProperty] public bool? HASLIST { get; set; } [JsonProperty, Column(DbType = "varchar(200)")] public string IMGURL { get; set; } [JsonProperty, Column(DbType = "varchar(36)")] public string ITEMID { get; set; } = Guid.NewGuid().ToString().ToUpper(); [JsonProperty] public int? ITEMTYPE { get; set; } [JsonProperty] public int? LISTSTYLE { get; set; } [JsonProperty, Column(DbType = "varchar(200)")] public string MAINIMGURL { get; set; } [JsonProperty, Column(DbType = "varchar(150)")] public string MNAME { get; set; } [JsonProperty, Column(DbType = "varchar(36)")] public string PARENTITEMID { get; set; } [JsonProperty] public int? SORT { get; set; } [JsonProperty, Column(DbType = "varchar(36)")] public string TEMPLETID { get; set; } = Guid.NewGuid().ToString().ToUpper(); [JsonProperty, Column(DbType = "varchar(200)")] public string TEMPLETNAME { get; set; } [JsonProperty, Column(DbType = "varchar(200)")] public string TEMPLETTHUMB { get; set; } [JsonProperty, Column(DbType = "varchar(200)")] public string TEMPLETURL { get; set; } [JsonProperty, Column(DbType = "varchar(36)")] public string USERID { get; set; } } }