rentaiming
2024-06-28 0219f0fc8f8b79cb50a9e1004b10d63a0edbb9dd
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
32
33
34
35
36
37
38
39
40
41
42
package com.ruoyi.management.domain.vo;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.util.List;
 
@Data
@ApiModel(value = "地址视图对象", description = "地址图对象")
public class RegionVo {
 
    @ApiModelProperty(value = "区域代码")
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private String value;
 
    @ApiModelProperty(value = "区域名称")
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private String label;
 
    @ApiModelProperty(value = "子级列表")
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private List<RegionVo> children;
 
    @ApiModelProperty(value = "id")
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private Long id;
 
    @ApiModelProperty(value = "父级id")
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private Long parentId;
 
    @ApiModelProperty(value = "层级")
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private Integer level;
 
    @ApiModelProperty("code")
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private String code;
}