using SqlSugar; using System; namespace CompressorXN_Model { /// /// 辅助位规则 /// public class T_Agreement_Help_Rule { public T_Agreement_Help_Rule() { Id = Guid.NewGuid().ToString(); } /// /// 主键 /// [SugarColumn(ColumnName = "id", IsPrimaryKey = true)] public string Id { get; set; } /// /// 协议名称 /// [SugarColumn(ColumnName = "agreement_name")] public string AgreementName { get; set; } [SugarColumn(ColumnName = "bit7")] public bool Bit7 { get; set; } [SugarColumn(ColumnName = "bit6")] public bool Bit6 { get; set; } [SugarColumn(ColumnName = "bit5")] public bool Bit5 { get; set; } [SugarColumn(ColumnName = "bit4")] public bool Bit4 { get; set; } [SugarColumn(ColumnName = "bit3")] public bool Bit3 { get; set; } [SugarColumn(ColumnName = "bit2")] public bool Bit2 { get; set; } [SugarColumn(ColumnName = "bit1")] public bool Bit1 { get; set; } [SugarColumn(ColumnName = "bit0")] public bool Bit0 { get; set; } /// /// 排序 /// [SugarColumn(ColumnName = "sort_index")] public int SortIndex { get; set; } } }