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 FuelServer.Core.Entity { /// /// 视图管理 /// [JsonObject(MemberSerialization.OptIn), Table(Name = "ad_view", DisableSyncStructure = true)] public partial class AdView { /// /// 主键Id /// [JsonProperty, Column(IsPrimary = true)] public long Id { get; set; } [JsonProperty] public long ApplyID { get; set; } /// /// 缓存 /// [JsonProperty] public bool Cache { get; set; } /// /// 创建时间 /// [JsonProperty, Column(DbType = "datetime")] public DateTime? CreatedTime { get; set; } /// /// 创建者Id /// [JsonProperty] public long? CreatedUserId { get; set; } /// /// 创建者 /// [JsonProperty, Column(StringLength = 50)] public string CreatedUserName { get; set; } /// /// 说明 /// [JsonProperty, Column(StringLength = 500)] public string Description { get; set; } /// /// 启用 /// [JsonProperty] public bool Enabled { get; set; } /// /// 是否删除 /// [JsonProperty] public bool IsDeleted { get; set; } /// /// 视图名称 /// [JsonProperty, Column(StringLength = 500)] public string Label { get; set; } /// /// 修改时间 /// [JsonProperty, Column(DbType = "datetime")] public DateTime? ModifiedTime { get; set; } /// /// 修改者Id /// [JsonProperty] public long? ModifiedUserId { get; set; } /// /// 修改者 /// [JsonProperty, Column(StringLength = 50)] public string ModifiedUserName { get; set; } /// /// 视图命名 /// [JsonProperty, Column(StringLength = 50)] public string Name { get; set; } /// /// 所属节点 /// [JsonProperty] public long ParentId { get; set; } /// /// 视图路径 /// [JsonProperty, Column(StringLength = 500)] public string Path { get; set; } /// /// 排序 /// [JsonProperty] public int Sort { get; set; } } }