package com.ycl.platform.domain.entity;
|
|
import annotation.Excel;
|
import com.ycl.system.domain.TreeEntity;
|
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-03
|
*/
|
public class CalculateMoneyRule extends TreeEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** */
|
private Long id;
|
|
/** */
|
@Excel(name = "")
|
private String name;
|
|
/** */
|
@Excel(name = "")
|
private Long templateId;
|
|
/** 单位id */
|
@Excel(name = "单位id")
|
private Long unitId;
|
|
/** 每少1%扣当月总服务费的多少 */
|
@Excel(name = "每少1%扣当月总服务费的多少")
|
private BigDecimal value;
|
|
/** $column.columnComment */
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
private String description;
|
|
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 setUnitId(Long unitId)
|
{
|
this.unitId = unitId;
|
}
|
|
public Long getUnitId()
|
{
|
return unitId;
|
}
|
public void setValue(BigDecimal value)
|
{
|
this.value = value;
|
}
|
|
public BigDecimal getValue()
|
{
|
return value;
|
}
|
public void setDescription(String description)
|
{
|
this.description = description;
|
}
|
|
public String getDescription()
|
{
|
return description;
|
}
|
|
@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())
|
.append("description", getDescription())
|
.toString();
|
}
|
}
|