mitao
2024-04-19 b21c37b7899b17dede7773db3c799aab1063ae1c
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
30
31
package com.finance.system.dto.update;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.NotBlank;
import lombok.Data;
 
@Data
@ApiModel(value = "字段分类更新数据传输对象")
public class FieldCategoryUpdateDTO implements Serializable {
 
    private static final long serialVersionUID = -1625725857401976832L;
 
    @ApiModelProperty(value = "id")
    private Long id;
 
    @ApiModelProperty(value = "一级分类名称")
    @NotBlank(message = "分类名称不能为空")
    private String fieldCategoryName;
 
    @ApiModelProperty(value = "序号")
    @NotBlank(message = "序号不能为空")
    private Integer sortOrder;
 
    @ApiModelProperty(value = "子分类")
    List<FieldCategoryUpdateDTO> children = new ArrayList<>();
 
}