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 = "op_rule_item", DisableSyncStructure = true)] public partial class OpRuleItem { [JsonProperty, Column(DbType = "varchar(40)", IsPrimary = true, IsNullable = false)] public string GID { get; set; } [JsonProperty, Column(DbType = "varchar(40)", IsNullable = false)] public string Compare { get; set; } [JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)] public string Field { get; set; } [JsonProperty, Column(DbType = "varchar(40)", IsNullable = false)] public string RuleId { get; set; } [JsonProperty] public int SortOrder { get; set; } = 0; [JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)] public string Value { get; set; } } }