tj
2025-06-05 2d549a04870d1315868a7cf19952b64e8071e711
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package com.cloudroam.dto.sysDict;
 
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;
 
import javax.validation.constraints.NotEmpty;
 
/**
 * @author taojie
 * @author taojie
 * 字典/更新数据传输对象
 */
@Data
@NoArgsConstructor
public class CreateOrUpdateSysDictDTO {
 
    @NotEmpty(message = "{sys_dict.name.not-empty}")
    @Length(max = 50, message = "{sys_dict.name.length}")
    private String name;
 
    @NotEmpty(message = "{sys_dict.remark.not-empty}")
    @Length(max = 100, message = "{sys_dict.remark.length}")
    private String remark;
 
    private String id;
 
 
}