fuliqi
2024-04-03 24417dad13f370cca36f6f52208daa0404de4dd6
ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CalculateRule.java
@@ -1,7 +1,7 @@
package com.ycl.platform.domain.entity;
import annotation.Excel;
import com.ycl.system.entity.BaseEntity;
import com.ycl.system.domain.TreeEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
@@ -11,25 +11,22 @@
 * 核算规则对象 t_calculate_rule
 * 
 * @author ruoyi
 * @date 2024-04-01
 * @date 2024-04-03
 */
public class CalculateRule extends BaseEntity
public class CalculateRule extends TreeEntity
{
    private static final long serialVersionUID = 1L;
    /** $column.columnComment */
    /**  */
    private Long id;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    /**  */
    @Excel(name = "")
    private String name;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    /**  */
    @Excel(name = "")
    private Long templateId;
    /** $column.columnComment */
    private Long parentId;
    /** 单位id */
    @Excel(name = "单位id")
@@ -38,6 +35,10 @@
    /** 每少1%扣当月总服务费的多少 */
    @Excel(name = "每少1%扣当月总服务费的多少")
    private BigDecimal value;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String description;
    public void setId(Long id) 
    {
@@ -66,15 +67,6 @@
    {
        return templateId;
    }
    public void setParentId(Long parentId)
    {
        this.parentId = parentId;
    }
    public Long getParentId()
    {
        return parentId;
    }
    public void setUnitId(Long unitId) 
    {
        this.unitId = unitId;
@@ -93,6 +85,15 @@
    {
        return value;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }
    public String getDescription()
    {
        return description;
    }
    @Override
    public String toString() {
@@ -103,6 +104,7 @@
            .append("parentId", getParentId())
            .append("unitId", getUnitId())
            .append("value", getValue())
            .append("description", getDescription())
            .toString();
    }
}