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-11-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("rpm_bad_management_person")
@ApiModel(value = "BadManagementPerson对象", description = "违规人员表")
public class BadManagementPerson extends BaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "任务id")
    private Long taskId;

    @ApiModelProperty(value = "人员id")
    private Long personId;

    private Long projectId;

    private Long companyId;

    private String companyName;

    @ApiModelProperty(value = "人名")
    private String personName;

    @ApiModelProperty(value = "是否有效 0无效 1有效")
    private Boolean valid;

}
