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;
|
|
/**
|
* 违约规则对象 t_default_rule
|
*
|
* @author ruoyi
|
* @date 2024-04-01
|
*/
|
public class DefaultRule extends TreeEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** 主键 */
|
private Long id;
|
|
/** 规则名称 */
|
@Excel(name = "规则名称")
|
private String ruleName;
|
|
/** 扣减方式 */
|
@Excel(name = "扣减方式")
|
private Long deductCategory;
|
|
/** 人工打分/系统打分 */
|
private Long deductWay;
|
|
/** 规则描述 */
|
@Excel(name = "规则描述")
|
private String ruleDesc;
|
|
/** 规则状态 */
|
@Excel(name = "规则状态")
|
private String ruleStatus;
|
|
/** 逻辑删除 */
|
private String deleted;
|
|
public void setId(Long id)
|
{
|
this.id = id;
|
}
|
|
public Long getId()
|
{
|
return id;
|
}
|
public void setRuleName(String ruleName)
|
{
|
this.ruleName = ruleName;
|
}
|
|
public String getRuleName()
|
{
|
return ruleName;
|
}
|
public void setDeductCategory(Long deductCategory)
|
{
|
this.deductCategory = deductCategory;
|
}
|
|
public Long getDeductCategory()
|
{
|
return deductCategory;
|
}
|
public void setDeductWay(Long deductWay)
|
{
|
this.deductWay = deductWay;
|
}
|
|
public Long getDeductWay()
|
{
|
return deductWay;
|
}
|
public void setRuleDesc(String ruleDesc)
|
{
|
this.ruleDesc = ruleDesc;
|
}
|
|
public String getRuleDesc()
|
{
|
return ruleDesc;
|
}
|
public void setRuleStatus(String ruleStatus)
|
{
|
this.ruleStatus = ruleStatus;
|
}
|
|
public String getRuleStatus()
|
{
|
return ruleStatus;
|
}
|
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("ruleName", getRuleName())
|
.append("parentId", getParentId())
|
.append("deductCategory", getDeductCategory())
|
.append("deductWay", getDeductWay())
|
.append("ruleDesc", getRuleDesc())
|
.append("ruleStatus", getRuleStatus())
|
.append("createTime", getCreateTime())
|
.append("updateTime", getUpdateTime())
|
.append("deleted", getDeleted())
|
.toString();
|
}
|
}
|