xiangpei
2025-05-27 f2cc79e9e83aafacc1af0e2c86e3c8df384fc895
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
package cn.lili.modules.system.entity.vo;
 
import cn.lili.common.utils.BeanUtil;
import cn.lili.modules.system.entity.dos.Region;
import lombok.Data;
import lombok.NoArgsConstructor;
 
import java.util.ArrayList;
import java.util.List;
 
/**
 * 地区VO
 *
 * @author Chopper
 * @since 2021-02-08 09:49
 */
@Data
@NoArgsConstructor
public class RegionVO extends Region {
 
    /**
     * 子信息
     */
    private List<RegionVO> children;
 
    public RegionVO(Region region) {
        BeanUtil.copyProperties(region, this);
        this.children = new ArrayList<>();
    }
}