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 java.math.BigDecimal; /** * 核算规则对象 t_calculate_rule * * @author ruoyi * @date 2024-04-01 */ public class CalculateRule extends BaseEntity { private static final long serialVersionUID = 1L; /** $column.columnComment */ private Long id; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") private String name; /** $column.columnComment */ @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") private Long templateId; /** $column.columnComment */ private Long parentId; /** 单位id */ @Excel(name = "单位id") private Long unitId; /** 每少1%扣当月总服务费的多少 */ @Excel(name = "每少1%扣当月总服务费的多少") private BigDecimal value; public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setName(String name) { this.name = name; } public String getName() { return name; } public void setTemplateId(Long templateId) { this.templateId = templateId; } public Long getTemplateId() { return templateId; } public void setParentId(Long parentId) { this.parentId = parentId; } public Long getParentId() { return parentId; } public void setUnitId(Long unitId) { this.unitId = unitId; } public Long getUnitId() { return unitId; } public void setValue(BigDecimal value) { this.value = value; } public BigDecimal getValue() { return value; } @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("name", getName()) .append("templateId", getTemplateId()) .append("parentId", getParentId()) .append("unitId", getUnitId()) .append("value", getValue()) .toString(); } }