package cn.wise.sc.cement.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author ztw
 * @since 2020-09-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SampleHandleEnclosure implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	@ApiModelProperty("样品处理表id")
	private Integer sampleHandleId;

	@ApiModelProperty("处理项表id")
	private Integer handleId;

	@ApiModelProperty("操作人id")
	private Integer userId;

	@ApiModelProperty("附件地址")
	private String enclosureUrl;

	@ApiModelProperty("创建时间")
	private LocalDateTime createTime;

	@ApiModelProperty("上传图片时间")
	private LocalDateTime updateTime;

	@ApiModelProperty("状态(0未上传，1成功，2上传失败)")
	private Integer status;

	@ApiModelProperty("文件名")
	private String alias;

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

	@ApiModelProperty("pdf路径")
	private String pdfUrl;

}
