|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
package com.ruoyi.system.api.domain;
|
|
|
|
|
|
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
|
|
|
import javax.validation.constraints.Pattern;
|
|
|
|
|
import javax.validation.constraints.Size;
|
|
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
|
@ -57,6 +58,7 @@ public class SysDictType extends BaseEntity
|
|
|
|
|
|
|
|
|
|
@NotBlank(message = "字典类型不能为空")
|
|
|
|
|
@Size(min = 0, max = 100, message = "字典类型类型长度不能超过100个字符")
|
|
|
|
|
@Pattern(regexp = "^[a-z][a-z0-9_]*$", message = "字典类型必须以字母开头,且只能为(小写字母,数字,下滑线)")
|
|
|
|
|
public String getDictType()
|
|
|
|
|
{
|
|
|
|
|
return dictType;
|
|
|
|
|