package com.zd.airbottle.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 货物配置对象 qp_air_goods_config
 *
 * @author zd
 */
@ApiModel("货物配置")
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
public class QpAirGoodsConfigRelationVo {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id,数据唯一标识
     */
    @ApiModelProperty(value = "${comment}")
    private Long id;
    /**
     * 气瓶配置表id
     */
    @ApiModelProperty(value = "气瓶配置表id")
    private Long airBottleConfigId;
    /**
     * 保存货品规格详情ID
     */
    @ApiModelProperty(value = "保存货品规格详情ID")
    private Long parentId;
    /**
     * 保存货品规格详情ID
     */
    @ApiModelProperty(value = "保存货品规格详情ID")
    private Long configId;
    /**
     * 最小值
     */
    @ApiModelProperty(value = "最小值")
    private Long minValue;

    @ApiModelProperty(value = "气体名称")
    private String airName;

    @ApiModelProperty(value = "规格")
    private String specValue;

    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @ApiModelProperty(value = "公司Id")
    private String companyId;

    @ApiModelProperty(value = "成分")
    private String airConstituents;

    @ApiModelProperty(value = "搜索条件")
    private String searchValue;

    @ApiModelProperty(value = "供应商id")
    private Long supplierId;

    @ApiModelProperty(value = "气瓶id")
    private Long airBottleId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "拒收时间")
    private Date rejectionApplyTime;

    @ApiModelProperty(value = "拒收原因")
    private String rejectionApplyRemark;

    @ApiModelProperty(value = "气瓶数量")
    private Long bottleNumber;

    @ApiModelProperty(value = "货物配置表ID")
    private Long airGoodsConfigId;

    @ApiModelProperty(value = "使用前余量")
    private Double afterUse;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "使用时间")
    private Date useTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "归还时间")
    private Date backTime;

    @ApiModelProperty(value = "入库表id")
    private Long bottleStorageId;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "气压")
    private Double pressure;

    @ApiModelProperty(value = "人数")
    private Long numberPersons;

    @ApiModelProperty(value = "气瓶状态")
    private Long qpStatus;

    @ApiModelProperty(value = "气瓶编号")
    private String airNumber;

    @ApiModelProperty(value = "实验地点")
    private String location;

    @ApiModelProperty(value = "入库状态 1闲置 2使用 3出库")
    private Long storageStatus;//

    @ApiModelProperty(value = "待办清单id")
    private Long taskId;//

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "配置名称")
    private String configName;

    @ApiModelProperty(value = "格式化后的使用时间")
    private String useTimeApp;

    @ApiModelProperty(value = "格式化后的归还时间")
    private String backTimeApp;

    @ApiModelProperty(value = "部门id")
    private Long deptId;
}
