package com.zd.bottle.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.zd.bottle.domain.BottleStorageOut;
import com.zd.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author: liujh
 * @Date: 2022/09/15/13:49
 * @Description:
 */
@Data
public class BottleStorageOutVo extends BottleStorageOut {

    @Excel(name = "标签码")
    @ApiModelProperty(value = "标签码")
    private String electronicTag;

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

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

    @Excel(name = "气体规格")
    @ApiModelProperty(value = "气体规格")
    private String configName;

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

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

    @Excel(name = "申请时间" ,type = Excel.Type.ALL,dateFormat = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
