package com.ktg.iscs.domain.vo.workarea;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ktg.common.annotation.Excel;
import com.ktg.common.core.domain.model.BaseBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 工作区域对象 is_workarea
 *
 * @author cgj
 * @date 2024-10-18
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class PageWorkareaVO extends BaseBean
{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "区域ID")
    private Long workareaId;

    @ApiModelProperty(value = "区域编号")
    @Excel(name = "区域编号")
    private String workareaCode;

    @ApiModelProperty(value = "区域名称")
    @Excel(name = "区域名称")
    private String workareaName;

    /** 区域类型 */
    @ApiModelProperty(value = "区域类型")
    @Excel(name = "区域类型")
    private String workareaType;

    /** 所属车间ID */
    @ApiModelProperty(value = "所属车间ID")
    @Excel(name = "所属车间ID")
    private Long workshopId;

    @ApiModelProperty(value = "所属车间Name")
    @Excel(name = "所属车间Name")
    private String workshopName;

    /** 地图 */
    @ApiModelProperty(value = "地图")
    @Excel(name = "地图")
    private String map;

    /** 删除标志（0代表存在 2代表删除） */
    @ApiModelProperty(value = "删除标志（0代表存在 2代表删除）")
    private String delFlag;

    @ApiModelProperty(value = "父部门id")
    private Long parentId;

    @ApiModelProperty(value = "祖级列表")
    private String ancestors;

    @ApiModelProperty(value = "显示顺序")
    private Integer orderNum;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "区域地图")
    private String mapImg;

}
