package com.ycl.platform.domain.entity;
|
|
|
import annotation.Excel;
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
import com.ycl.system.entity.BaseEntity;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import java.math.BigDecimal;
|
|
/**
|
* 核算规则对象 t_accounting_rules
|
*
|
* @author gonghl
|
* @date 2024-03-21
|
*/
|
public class AccountingRules extends BaseEntity {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* $column.columnComment
|
*/
|
private Integer id;
|
|
/**
|
* 规则名称
|
*/
|
@Excel(name = "规则名称")
|
private String rulesName;
|
|
/**
|
* 合同名称
|
*/
|
@Excel(name = "合同名称")
|
private String contractName;
|
|
/**
|
* 金额
|
*/
|
@Excel(name = "金额")
|
private BigDecimal amount;
|
|
/**
|
* 逻辑删除
|
*/
|
@TableLogic
|
private String deleted;
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setRulesName(String rulesName) {
|
this.rulesName = rulesName;
|
}
|
|
public String getRulesName() {
|
return rulesName;
|
}
|
|
public void setContractName(String contractName) {
|
this.contractName = contractName;
|
}
|
|
public String getContractName() {
|
return contractName;
|
}
|
|
public void setAmount(BigDecimal amount) {
|
this.amount = amount;
|
}
|
|
public BigDecimal getAmount() {
|
return amount;
|
}
|
|
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("rulesName", getRulesName())
|
.append("contractName", getContractName())
|
.append("amount", getAmount())
|
.append("createTime", getCreateTime())
|
.append("updateTime", getUpdateTime())
|
.append("deleted", getDeleted())
|
.toString();
|
}
|
}
|