using Mapster;
namespace Model
{
///
/// 奖励配置 pri_list
///
[SugarTable("pri_list", "奖励配置")]
[Tenant("0")]
public class PriList
{
///
/// 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; }
///
/// 奖励名称
///
[SugarColumn(ColumnDescription = "奖励名称", Length = 50, ColumnName = "prize_name")]
public string? prizeName { get; set; }
///
/// 奖励代码
///
[SugarColumn(ColumnDescription = "奖励代码", Length = 50, ColumnName = "prize_code")]
public string? prizeCode { get; set; }
///
/// 奖励比例
///
[SugarColumn(ColumnDescription = "奖励比例", ColumnName = "prize_percent")]
public decimal prizePercent { get; set; }
///
/// 奖励固定金额
///
[SugarColumn(ColumnDescription = "奖励固定金额", ColumnName = "prize_amount")]
public decimal prizeAmount { get; set; }
///
/// 条件模式
///
[SugarColumn(ColumnDescription = "条件模式", Length = 20, ColumnName = "condition_mode")]
public string? conditionMode { get; set; }
///
/// 是否递归
///
[SugarColumn(ColumnDescription = "是否递归", ColumnName = "recursion_flag")]
public bool recursionFlag { get; set; }
///
/// 奖励内容
///
[SugarColumn(ColumnDescription = "奖励内容", Length = 20, ColumnName = "prize_content")]
public string? prizeContent { get; set; }
///
/// 入参字段
///
[SugarColumn(ColumnDescription = "入参字段", Length = 50, ColumnName = "request_param_field")]
public string? requestParamField { get; set; }
///
/// 奖励金额来源数据
///
[SugarColumn(ColumnDescription = "奖励金额来源数据", Length = 500, ColumnName = "prize_source_field")]
public string? prizeSourceField { get; set; }
///
/// 分类
///
[SugarColumn(ColumnDescription = "分类", Length = 20, ColumnName = "kind")]
public string? kind { get; set; }
///
/// 奖励金额来源数据类型
///
[SugarColumn(ColumnDescription = "奖励金额来源数据类型", Length = 20, ColumnName = "prize_source_field_type")]
public string? prizeSourceFieldType { get; set; }
///
/// 奖励发放对象
///
[SugarColumn(ColumnDescription = "奖励发放对象", ColumnName = "prize_obj")]
public int prizeObj { get; set; }
///
/// 条件匹配列表
///
[SugarColumn(ColumnDescription = "条件匹配列表", Length = 200, ColumnName = "query_table_id_list")]
public string? queryTableIdList { get; set; }
///
/// 重复发放
///
[SugarColumn(ColumnDescription = "重复发放", ColumnName = "repeat_flag")]
public bool repeatFlag { get; set; }
}
}