fuliqi
2024-04-02 32b4f6188f32e6c08e813efa98a25d94eacdc0c6
ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckTemplate.java
@@ -1,190 +1,55 @@
package com.ycl.platform.domain.entity;
import annotation.Excel;
import com.ycl.system.entity.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ycl.platform.base.AbsEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.math.BigDecimal;
import java.util.Date;
/**
 * 考核模板对象 t_check_template
 *
 * @author ruoyi
 * @date 2024-04-01
 * 考核模板
 *
 * @author xp
 * @since 2024-03-06
 */
public class CheckTemplate extends BaseEntity
{
@Data
@Accessors(chain = true)
@TableName("t_check_template")
@ApiModel(value = "CheckTemplate对象", description = "考核模板")
public class CheckTemplate extends AbsEntity {
    private static final long serialVersionUID = 1L;
    /**  */
    private Long id;
    /** 模板名称 */
    @Excel(name = "模板名称")
    /**
     * 模板名称
     */
    @TableField("template_name")
    private String templateName;
    /** 调整系数 */
    @Excel(name = "调整系数")
    private Long adjustCoefficient;
    @ApiModelProperty("调整系数")
    @TableField("adjust_coefficient")
    private BigDecimal adjustCoefficient;
    /** 调整方式:乘除 */
    @Excel(name = "调整方式:乘除")
    /**
     * 调整系数的方式:乘除
     */
    @TableField("adjust_way")
    private String adjustWay;
    /** 考核类型 */
    @Excel(name = "考核类型")
    private Long examineCategory;
    /** 启用/停用 */
    @Excel(name = "启用/停用")
    @ApiModelProperty("状态")
    @TableField("status")
    private String status;
    /** 区县 */
    @Excel(name = "区县")
    private String deptId;
    @ApiModelProperty("单位id")
    @TableField("unit_id")
    private Integer unitId;
    /** 创建人id */
    private Long createUser;
    /** 创建人姓名 */
    @Excel(name = "创建人姓名")
    private String createUserName;
    /**  */
    private Long updateUser;
    /**  */
    @Excel(name = "")
    private String updateUserName;
    /** 逻辑删除 */
    private String deleted;
    public void setId(Long id)
    {
        this.id = id;
    }
    public Long getId()
    {
        return id;
    }
    public void setTemplateName(String templateName)
    {
        this.templateName = templateName;
    }
    public String getTemplateName()
    {
        return templateName;
    }
    public void setAdjustCoefficient(Long adjustCoefficient)
    {
        this.adjustCoefficient = adjustCoefficient;
    }
    public Long getAdjustCoefficient()
    {
        return adjustCoefficient;
    }
    public void setAdjustWay(String adjustWay)
    {
        this.adjustWay = adjustWay;
    }
    public String getAdjustWay()
    {
        return adjustWay;
    }
    public void setExamineCategory(Long examineCategory)
    {
        this.examineCategory = examineCategory;
    }
    public Long getExamineCategory()
    {
        return examineCategory;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }
    public String getStatus()
    {
        return status;
    }
    public void setDeptId(String deptId)
    {
        this.deptId = deptId;
    }
    public String getDeptId()
    {
        return deptId;
    }
    public void setCreateUser(Long createUser)
    {
        this.createUser = createUser;
    }
    public Long getCreateUser()
    {
        return createUser;
    }
    public void setCreateUserName(String createUserName)
    {
        this.createUserName = createUserName;
    }
    public String getCreateUserName()
    {
        return createUserName;
    }
    public void setUpdateUser(Long updateUser)
    {
        this.updateUser = updateUser;
    }
    public Long getUpdateUser()
    {
        return updateUser;
    }
    public void setUpdateUserName(String updateUserName)
    {
        this.updateUserName = updateUserName;
    }
    public String getUpdateUserName()
    {
        return updateUserName;
    }
    public void setDeleted(String deleted)
    {
        this.deleted = deleted;
    }
    public String getDeleted()
    {
        return deleted;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("templateName", getTemplateName())
            .append("adjustCoefficient", getAdjustCoefficient())
            .append("adjustWay", getAdjustWay())
            .append("examineCategory", getExamineCategory())
            .append("status", getStatus())
            .append("deptId", getDeptId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createUser", getCreateUser())
            .append("createUserName", getCreateUserName())
            .append("updateUser", getUpdateUser())
            .append("updateUserName", getUpdateUserName())
            .append("deleted", getDeleted())
            .toString();
    }
    @ApiModelProperty("考核类型")
    @TableField("examine_category")
    private String examineCategory;
}