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 2021-01-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("rpm_risk_work_measure")
@ApiModel(value = "RiskWorkMeasure对象", description = "管控措施")
public class RiskWorkMeasure extends BaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "管控措施名称")
    private String name;

    @ApiModelProperty(value = "编号（暂未使用）")
    private String code;

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


}
