using JNPF.DependencyInjection; namespace JNPF.Common.Models.Authorize; /// /// 数据权限条件字段. /// [SuppressSniffer] public class AuthorizeModuleResourceConditionItemModel { /// /// ID. /// public string Id { get; set; } /// /// 字段. /// public string Field { get; set; } /// /// 字段类型. /// public string Type { get; set; } /// /// 条件. /// public string Op { get; set; } /// /// 值. /// public string Value { get; set; } /// /// 绑定表. /// public string BindTable { get; set; } /// /// 规则(0:主表,1:副表). /// public int FieldRule { get; set; } } public class AuthorizeModuleResourceConditionItemModelInput { /// /// ID. /// public string id { get; set; } /// /// 字段. /// public string field { get; set; } /// /// 字段类型. /// public string type { get; set; } /// /// 条件. /// public string op { get; set; } /// /// 值. /// public string value { get; set; } /// /// 绑定表. /// public string bindTable { get; set; } /// /// 规则(0:主表,1:副表). /// public int fieldRule { get; set; } }