liusheng
2024-03-21 c20c99f256e2f47bd45f0b48fb6b1bcc83960f1e
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package com.ruoyi.common.core.domain.entity;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
 
/**
 * 省市区管理对象 base_prcaddress_dict
 * 
 * @author ruoyi
 * @date 2021-11-15
 */
@Data
public class BasePrcaddressDict extends BaseEntity
{
    private static final long serialVersionUID = 1L;
 
    /** $column.columnComment */
    //数据库自增改成@TableId(type = IdType.AUTO)
    @TableId(type = IdType.AUTO)
    private Long id;
 
    /** 行政区域编号 */
    @Excel(name = "行政区域编号")
    private String areanumber;
 
    /** 行政区域名称 */
    @Excel(name = "行政区域名称")
    private String areaname;
 
    /** 上一级行政区域编号 */
    @Excel(name = "上一级行政区域编号")
    private String superiorareanumber;
 
    /** 行政区划级别:1:省 2:市  3:区(镇) */
    @Excel(name = "行政区划级别:1:省 2:市  3:区", readConverterExp = "镇=")
    private Long arealv;
 
    /** 拼音码 */
    @Excel(name = "拼音码")
    private String pym;
 
    /** 五笔码 */
    @Excel(name = "五笔码")
    private String wbm;
 
    /** 报销金额 */
    @Excel(name = "报销金额")
    private BigDecimal reimbursementamount;
 
    /** 子部门 */
    @TableField(exist = false)
    private List<BasePrcaddressDict> children = new ArrayList<BasePrcaddressDict>();
 
    public List<BasePrcaddressDict> getChildren()
    {
        return children;
    }
 
    public void setChildren(List<BasePrcaddressDict> children)
    {
        this.children = children;
    }
 
}