package com.ruoyi.hezhi.domain; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.TreeEntity; import lombok.Getter; import lombok.Setter; import lombok.ToString; import java.util.Date; import java.util.List; /** * 行政区域对象 tb_region * * @author ruoyi * @date 2024-10-21 */ @Getter @Setter @ToString public class TbRegion extends TreeEntity { private static final long serialVersionUID = 1L; /** 行政区域主键ID */ private Long id; /** 父id */ @Excel(name = "父id") private Long pid; /** 简称 */ @Excel(name = "简称") private String shortname; /** 名称 */ @Excel(name = "名称") private String name; /** 全称 */ @Excel(name = "全称") private String mergerName; /** 层级 0 1 2 省市区县 */ @Excel(name = "层级 0 1 2 省市区县") private Integer type; /** 拼音 */ @Excel(name = "拼音") private String pinyin; /** 长途区号 */ @Excel(name = "长途区号") private String phoneCode; /** 邮编 */ @Excel(name = "邮编") private String code; /** 首字母 */ @Excel(name = "首字母") private String first; /** 经度 */ @Excel(name = "经度") private String lng; /** 纬度 */ @Excel(name = "纬度") private String lat; /** 删除时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd") private Date deleteTime; /** 删除人 */ @Excel(name = "删除人") private String deleteBy; /** 删除标记(0-正常,1-删除) */ private Integer delFlag; private List childrenList; }