package com.yeejoin.precontrol.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yeejoin.precontrol.common.entity.publics.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 危险作业字典表
 *
 * @author duanwei
 * @date 2020-08-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("rpm_work_ticket")
@ApiModel(value = "WorkTicket对象", description = "危险作业字典表")
public class WorkTicket extends BaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "上级编号")
    private Long pid;

    @ApiModelProperty(value = "层级")
    private Boolean deep;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "扩展名")
    private String extName;


}
