forked from rongchao/epmet-cloud-rizhao
7 changed files with 179 additions and 12 deletions
@ -0,0 +1,63 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotNull; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @program: epmet-cloud |
||||
|
* @description: |
||||
|
* @author: wangtong |
||||
|
* @create: 2022-06-17 17:48 |
||||
|
**/ |
||||
|
@Data |
||||
|
public class PointModifyFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* 主键 |
||||
|
*/ |
||||
|
@NotNull(message = "id不可为空") |
||||
|
private String id; |
||||
|
|
||||
|
private String customerId; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 记录类型;分类:category;规则:rule |
||||
|
*/ |
||||
|
@NotNull(message = "类型不可为空") |
||||
|
private String type; |
||||
|
|
||||
|
/** |
||||
|
* 允许申请标记;允许0(type = category时,强制赋值为0),禁止1。 |
||||
|
*/ |
||||
|
private String applyFlag; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 积分类别名称;type=category时必填 |
||||
|
*/ |
||||
|
private String categoryName; |
||||
|
|
||||
|
/** |
||||
|
* 积分规则名称;type=rule时必填 |
||||
|
*/ |
||||
|
private String ruleName; |
||||
|
|
||||
|
/** |
||||
|
* 上级节点ID;上级分类ID,顶级分类的PID为0 |
||||
|
*/ |
||||
|
@NotNull(message = "pid不可为空") |
||||
|
private String pid; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 分值;正数加分,负数减分;type=rule时必填 |
||||
|
*/ |
||||
|
private Integer pointValue; |
||||
|
|
||||
|
|
||||
|
} |
Loading…
Reference in new issue