档案管理、白名单管理、加密类型管理

This commit is contained in:
liang.chao 2025-09-10 15:33:03 +08:00
parent b401b2284c
commit 1dea1b4eb7
1 changed files with 8 additions and 3 deletions

View File

@ -3,6 +3,8 @@ package com.bonus.system.domain;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
/**
* @Authorliang.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;
}