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 children = new ArrayList(); public List getChildren() { return children; } public void setChildren(List children) { this.children = children; } }