package org.springblade.common.core.domain.entity;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.springblade.common.core.page.PageDomain;


/**
 * @Author：liang.chao
 * @Date：2025/9/10 - 10:31
 */
@Data
public class SysEncryType extends PageDomain {
    private String id;
    @Length(max = 20, message = "档案加密类型长度不能超过20个字符")
    @NotBlank(message = "档案加密类型不能为空")
    private String encryptType;
    @Length(max = 20, message = "档案加密名称长度不能超过20个字符")
    @NotBlank(message = "档案加密名称不能为空")
    private String encryptName;
    @Length(max = 32, message = "档案加密参数长度不能超过32个字符")
    @NotBlank(message = "档案加密参数不能为空")
    private String encryptParams;
    private Integer status;
}
