package com.patzn.lims.frame.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.patzn.lims.core.bean.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author patzn123
 * @since 2018-01-10
 */
@Data
@Accessors(chain = true)
@ApiModel
public class LmsFrameUnconformImprove extends BaseEntity {

	private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "状态0草稿，1已提交")
	private Integer status;

    @ApiModelProperty(value = "不符合项登记id")
	private Long registerId;

    @ApiModelProperty(value = "问题")
	private String question;

	@ApiModelProperty(value = "问题纯文本")
	private String questionText;

    @ApiModelProperty(value = "纠正/预防措施")
	private String method;

	@ApiModelProperty(value = "纠正/预防措施纯文本")
	private String methodText;

    @ApiModelProperty(value = "截止日期")
	private Date expiryDate;

    @ApiModelProperty(value = "申请人id")
	private Long applyId;

    @ApiModelProperty(value = "申请人姓名")
	private String applyName;

    @ApiModelProperty(value = "申请日期")
	private Date applyTime;

    @ApiModelProperty(value = "负责人id")
	private Long managerId;

    @ApiModelProperty(value = "负责人姓名")
	private String managerName;

    @ApiModelProperty(value = "检查人id")
	private Long checkerId;

    @ApiModelProperty(value = "检查人姓名")
	private String checkerName;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "公司id")
	@TableField(fill = FieldFill.INSERT)
	private Long companyId;

    @ApiModelProperty(value = "用户id")
	private Long userId;

    @ApiModelProperty(value = "临时状态0临时数据，1正式数据")
	private Integer tempStatus;


}
