package com.railway.business.safetool.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.railway.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 安全工具计划表
 *
 * @author lijie 2021-12-04
 */
@Data
@ApiModel("安全工具计划表")
@EqualsAndHashCode(callSuper = true)
public class SecScheduled extends BaseEntity {

  @ApiModelProperty(value = "主键", hidden = true)
  protected Long id;

  @ApiModelProperty(value = "车间id")
  protected Long deptId;

  @ApiModelProperty(value = "实验室id 部门表类型为实验室")
  protected Long labId;

  @ApiModelProperty(value = "计划送检日期")
  @JsonFormat(pattern = "yyyy-MM-dd")
  protected Date scheduledTime;

  @ApiModelProperty(value = "状态，0待送检，1已送检")
  protected String state;

  @ApiModelProperty(value = "del_flag", hidden = true)
  protected String delFlag;

}