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;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

/**
 * 风险作业关联危险作业表
 *
 * @author duanwei
 * @date 2021-01-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("rpm_risk_work_hazadous_work")
@ApiModel(value = "RiskWorkHazadousWork对象", description = "风险作业关联危险作业表")
public class RiskWorkHazadousWork extends BaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "风险作业id")
    private Long riskWorkId;

    @ApiModelProperty(value = "危险作业id")
    private Long harzadousWorkId;

    @ApiModelProperty(value = "危险作业名称")
    private String harzadousWorkName;

    @ApiModelProperty(value = "作业条件")
    private String workCondition;


}
