package com.ycl.platform.domain.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import lombok.Data; import lombok.experimental.Accessors; import java.math.BigDecimal; /** * @author:xp * @date:2024/3/8 9:18 */ @Data @Accessors(chain = true) @TableName("t_check_template_rule") @ApiModel(value = "CheckTemplate对象", description = "考核模板") public class CheckTemplateRule { @TableId(value = "id", type = IdType.AUTO) private Integer id; /** * 模板ID */ @TableField("check_template_id") private Integer checkTemplateId; /** * 规则ID */ @TableField("check_rule_id") private Integer checkRuleId; /** * 权重 */ @TableField("weight") private BigDecimal weight; }