档案管理、白名单管理、加密类型管理
This commit is contained in:
parent
b401b2284c
commit
1dea1b4eb7
|
|
@ -3,6 +3,8 @@ package com.bonus.system.domain;
|
|||
import lombok.Data;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
|
||||
/**
|
||||
* @Author:liang.chao
|
||||
|
|
@ -11,11 +13,14 @@ import org.hibernate.validator.constraints.Length;
|
|||
@Data
|
||||
public class SysEncryType {
|
||||
private String id;
|
||||
@Length(max = 20)
|
||||
@Length(max = 20, message = "加密类型长度不能超过20个字符")
|
||||
@NotBlank(message = "加密类型不能为空")
|
||||
private String encryptType;
|
||||
@Length(max = 20)
|
||||
@Length(max = 20, message = "加密名称长度不能超过20个字符")
|
||||
@NotBlank(message = "加密名称不能为空")
|
||||
private String encryptName;
|
||||
@Length(max = 32)
|
||||
@Length(max = 32, message = "加密参数长度不能超过32个字符")
|
||||
@NotBlank(message = "加密参数不能为空")
|
||||
private String encryptParams;
|
||||
private Integer status;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue