package org.dromara.system.domain.vo;

import org.dromara.system.domain.SysArea;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 区域视图对象 sys_area
 *
 * @author LionLi
 * @date 2024-04-18
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SysArea.class)
public class SysAreaVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 区域id
     */
    @ExcelProperty(value = "区域id")
    private Long areaId;

    /**
     * 区域名
     */
    @ExcelProperty(value = "区域名")
    private String areaName;

    /**
     * 上级
     */
    @ExcelProperty(value = "上级")
    private Long up;

    /**
     * 级别
     */
    @ExcelProperty(value = "级别")
    private Long level;

    /**
     * 排序
     */
    @ExcelProperty(value = "排序")
    private Long sort;

    /**
     * 区域code
     */
    @ExcelProperty(value = "区域code")
    private String code;

    /**
     * 1 可用/  0 不可用
     */
    @ExcelProperty(value = "1 可用/  0 不可用")
    private Integer isUse;

    /**
     * 区域编码
     */
    @ExcelProperty(value = "区域编码")
    private String areaCode;


}
