package com.bonus.sgzb.material.domain;

import com.bonus.sgzb.common.core.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author hay
 * @description 综合查询--机具入库查询
 * @date 2024/2/26 14:51
 */
@ApiModel(description = "机具出库查询")
@Data
public class OutRecord {

    private static final long serialVersionUID = 2227217051604273598L;

    @ApiModelProperty(value = "领料单号")
    @Excel(name = "领料单号")
    private String code;

    @ApiModelProperty(value = "工程名称")
    @Excel(name = "工程名称")
    private String lotName;

    @ApiModelProperty(value = "单位id")
    private String unitId;

    @ApiModelProperty(value = "工程id")
    private String lotId;

    @ApiModelProperty(value = "领料单位")
    @Excel(name = "领料单位")
    private String unitName;

    @ApiModelProperty(value = "规格型号")
    @Excel(name = "规格型号")
    private String typeModelName;

    @ApiModelProperty(value = "机具名称")
    @Excel(name = "机具名称")
    private String typeName;

    @ApiModelProperty(value = "设备编码")
    @Excel(name = "设备编码")
    private String maCode;

    @ApiModelProperty(value = "出库时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "出库时间")
    private Date createTime;

    @ApiModelProperty(value = "出库数量")
    @Excel(name = "出库数量")
    private Integer outNum;

    @ApiModelProperty(value = "设备状态")
    @Excel(name = "设备状态")
    private String maStauts;

    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String endTime;

    @ApiModelProperty(value = "关键字")
    private String keyWord;

}