package com.sz.admin.monitor.pojo.vo.Region;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * ClassName: RegionVO
 * Package: com.sz.admin.monitor.pojo.vo.Region
 * Description:
 */
@Data
@Schema(description = "Region返回vo")
public class RegionVO {

    @Schema(description = "主键ID")
    private Long id;

    @Schema(description = "区域名称")
    private String name;

    @Schema(description = "父级ID (0表示根节点)")
    private Long parentId;

    @Schema(description = "1-市级 2-区县级")
    private Integer level;

    @Schema(description = "0-区县 1-超高压")
    private Integer type;

    @Schema(description = "行政编码/业务编码")
    private String code;

    @Schema(description = "排序字段")
    private Integer sort;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
