package com.ycl.platform.domain.vo;
|
|
import enumeration.general.RuleDeductCategoryEnum;
|
import lombok.Data;
|
|
import java.util.Date;
|
|
@Data
|
public class CalculateRuleVO {
|
|
/**
|
* id
|
*/
|
private Integer id;
|
|
/**
|
* 合同id
|
*/
|
private Integer contractId;
|
|
/**
|
* 规则名称
|
*/
|
private String ruleName;
|
|
/**
|
* 规则条件
|
*/
|
private String ruleCondition;
|
|
/**
|
* 违规最小值
|
*/
|
private Double min;
|
|
/**
|
* 违规最大值
|
*/
|
private Double max;
|
|
/**
|
* 扣减方式 扣指定分数/分数乘以数量/除以数量后乘以分数
|
*/
|
private RuleDeductCategoryEnum deductCategory;
|
|
/**
|
* 扣除分数
|
*/
|
private Double calcFraction;
|
|
/**
|
* 当方式为除以时,除以当前字段数量
|
*/
|
private Integer calcUnit;
|
|
private Date createTime;
|
private Date updateTime;
|
|
private Integer deleted;
|
|
private Integer unitId;
|
//违规路数、个数
|
private Integer num;
|
//工单下发到审核通过的时间
|
private long handleTime;
|
}
|