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

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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

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

	private static final long serialVersionUID = 1L;

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

	@ApiModelProperty("设备表id")
	private Integer equipmentId;

	@ApiModelProperty("检定人id")
	private Integer userId;

	@ApiModelProperty("检定日期")
	private LocalDate testDate;

	@ApiModelProperty("校验日期")
	private LocalDate checkDate;

	@ApiModelProperty("期间核查日期")
	private LocalDate periodDate;

	@ApiModelProperty("实施结果")
	private String tryResult;

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

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

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

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

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

}
