package org.dromara.zhishu.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.zhishu.domain.TDistrict;

import java.io.Serial;
import java.io.Serializable;

@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TDistrict.class)
public class TDistrictVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 区划信息id
     */
    @ExcelProperty(value = "区划信息id")
    private Long id;

    /**
     * 父级挂接id
     */
    @ExcelProperty(value = "父级挂接id")
    private Long pid;

    /**
     * 区划编码
     */
    @ExcelProperty(value = "区划编码")
    private String code;

    /**
     * 区划名称
     */
    @ExcelProperty(value = "区划名称")
    private String name;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 状态 0 正常 -2 删除 -1 停用
     */
    @ExcelProperty(value = "状态 0 正常 -2 删除 -1 停用")
    private Long status;

    /**
     * 级次id 0:省/自治区/直辖市 1:市级 2:县级
     */
    @ExcelProperty(value = "级次id 0:省/自治区/直辖市 1:市级 2:县级")
    private Long level;


}