package com.zd.bottle.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.zd.common.core.web.domain.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;


/**
 * <p>
 * 使用记录表
 * </p>
 *
 * @author hanson
 * @since 2022-09-08
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "UseRecord对象", description = "使用记录表")
@EqualsAndHashCode(callSuper = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class UseRecord extends BaseBean {

    @ApiModelProperty("联系人")
    private String contacts;

    @ApiModelProperty("联系方式")
    private String phone;

    @ApiModelProperty("实验地点")
    private String subjectName;

    @ApiModelProperty("实验室id")
    private Long subjectId;

    @ApiModelProperty("气瓶入库ID")
    private Long storageId;

    @ApiModelProperty("使用前照片")
    private String beforeUsePic;

    @ApiModelProperty("使用前气压")
    private BigDecimal beforeUse;

    @ApiModelProperty("使用后照片")
    private String afterUsePic;

    @ApiModelProperty("使用后气压")
    private BigDecimal afterUse;

    @ApiModelProperty("使用量")
    private BigDecimal amount;

    @ApiModelProperty("使用时间")
    private Date useTime;

    @ApiModelProperty("归还时间")
    private Date backTime;

    /**
     * 开始时间
     */
    private transient String startTime;
    /**
     * 结束时间
     */
    private transient String endTime;
}
