package com.ycl.platform.domain.entity;
|
|
import annotation.Excel;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ycl.system.entity.BaseEntity;
|
import org.apache.commons.lang.builder.ToStringBuilder;
|
import org.apache.commons.lang.builder.ToStringStyle;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* 核算记录对象 t_calculate_record
|
*
|
* @author ruoyi
|
* @date 2024-04-03
|
*/
|
public class CalculateRecord extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** $column.columnComment */
|
private Long id;
|
|
/** 核算记录日期 */
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = "核算记录日期", width = 30, dateFormat = "yyyy-MM-dd")
|
private Date date;
|
|
/** 核算规则 */
|
@Excel(name = "核算规则")
|
private Long ruleId;
|
|
/** 单位id */
|
@Excel(name = "单位id")
|
private Long unitId;
|
|
/** 总服务费 */
|
@Excel(name = "总服务费")
|
private BigDecimal totalMount;
|
|
/** 扣减服务费 */
|
@Excel(name = "扣减服务费")
|
private BigDecimal deductAmount;
|
|
/** 考核分数 */
|
@Excel(name = "考核分数")
|
private BigDecimal score;
|
|
public void setId(Long id)
|
{
|
this.id = id;
|
}
|
|
public Long getId()
|
{
|
return id;
|
}
|
public void setDate(Date date)
|
{
|
this.date = date;
|
}
|
|
public Date getDate()
|
{
|
return date;
|
}
|
public void setRuleId(Long ruleId)
|
{
|
this.ruleId = ruleId;
|
}
|
|
public Long getRuleId()
|
{
|
return ruleId;
|
}
|
public void setUnitId(Long unitId)
|
{
|
this.unitId = unitId;
|
}
|
|
public Long getUnitId()
|
{
|
return unitId;
|
}
|
public void setTotalMount(BigDecimal totalMount)
|
{
|
this.totalMount = totalMount;
|
}
|
|
public BigDecimal getTotalMount()
|
{
|
return totalMount;
|
}
|
public void setDeductAmount(BigDecimal deductAmount)
|
{
|
this.deductAmount = deductAmount;
|
}
|
|
public BigDecimal getDeductAmount()
|
{
|
return deductAmount;
|
}
|
public void setScore(BigDecimal score)
|
{
|
this.score = score;
|
}
|
|
public BigDecimal getScore()
|
{
|
return score;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("date", getDate())
|
.append("ruleId", getRuleId())
|
.append("unitId", getUnitId())
|
.append("totalMount", getTotalMount())
|
.append("deductAmount", getDeductAmount())
|
.append("score", getScore())
|
.toString();
|
}
|
}
|