using Mapster;
namespace Model
{
///
/// 递归配置 pri_loop_set
///
[SugarTable("pri_loop_set", "递归配置")]
[Tenant("0")]
public class PriLoopSet
{
///
/// ID
///
[SugarColumn(ColumnDescription = "ID", IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
public int id { get; set; }
///
/// 状态
///
[SugarColumn(ColumnDescription = "状态", ColumnName = "status")]
public int status { get; set; }
///
/// 排序
///
[SugarColumn(ColumnDescription = "排序", ColumnName = "sort")]
public int sort { get; set; }
///
/// 版本号
///
[SugarColumn(ColumnDescription = "版本号", ColumnName = "version")]
public int version { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnDescription = "创建时间", ColumnName = "create_date")]
public DateTime? createDate { get; set; }
///
/// 更新时间
///
[SugarColumn(ColumnDescription = "更新时间", ColumnName = "update_date")]
public DateTime? updateDate { get; set; }
///
/// 项目
///
[SugarColumn(ColumnDescription = "项目", ColumnName = "project_id")]
public int projectId { get; set; }
///
/// 配置ID
///
[SugarColumn(ColumnDescription = "配置ID", ColumnName = "list_id")]
public int listId { get; set; }
///
/// 执行模式
///
[SugarColumn(ColumnDescription = "执行模式", Length = 20, ColumnName = "loop_model")]
public string? loopModel { get; set; }
///
/// 父ID字段
///
[SugarColumn(ColumnDescription = "父ID字段", Length = 50, ColumnName = "parent_field")]
public string? parentField { get; set; }
///
/// 子ID字段
///
[SugarColumn(ColumnDescription = "子ID字段", Length = 50, ColumnName = "son_field")]
public string? sonField { get; set; }
///
/// 查询表
///
[SugarColumn(ColumnDescription = "查询表", Length = 50, ColumnName = "table_en_name")]
public string? tableEnName { get; set; }
///
/// 级差
///
[SugarColumn(ColumnDescription = "级差", ColumnName = "level_diff_flag")]
public bool levelDiffFlag { get; set; }
///
/// 发奖后是否继续
///
[SugarColumn(ColumnDescription = "发奖后是否继续", ColumnName = "after_prize_flag")]
public bool afterPrizeFlag { get; set; }
///
/// 条件模式
///
[SugarColumn(ColumnDescription = "条件模式", Length = 20, ColumnName = "condition_mode")]
public string? conditionMode { get; set; }
}
}