package com.railway.business.catenary.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDate;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 检测表查询参数
 *
 * @author zhaomn
 */
@Data
public class JcebQueryVo implements Serializable {

  private static final long serialVersionUID = 1L;

  @ApiModelProperty(value = "检测表类型")
  private String jcebType;

  @ApiModelProperty(value = "基础表数据记录id")
  private Long baseId;

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

  @ApiModelProperty(value = "区间站场id")
  private Long stationId;

  private Long[] stationIds;

  @ApiModelProperty(value = "支柱号")
  private String pillarCode;

  @ApiModelProperty(value = "检查日期")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private LocalDate operationDate;

  @ApiModelProperty(value = "记录人/操作人")
  private Long operator;

  @ApiModelProperty(value = "提交状态 0未提交 1已提交 2已退回 9已确认")
  private String submitState;

  /**
   * 创建者
   */
  @ApiModelProperty(value = "创建者")
  private String createBy;

  @ApiModelProperty(value = "要排序的列")
  private String orderBy;

  @ApiModelProperty(value = "1-ASC 正序排序，0-DESC 倒序排序")
  private String isAsc;

}
