package com.zd.airbottle.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zd.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;
import com.zd.common.core.web.domain.BaseEntity;

/**
 * 气瓶异常记录对象 qp_bottle_storage_error
 */
@ApiModel("气瓶异常记录")
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
public class QpBottleStorageError extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id,数据唯一标识 */
    @ApiModelProperty(value = "${comment}")
    private Long id;
    /** 气瓶入库ID */
    @ApiModelProperty(value = "气瓶入库ID")
    private Long storageId;
    /** 实验室ID */
    @ApiModelProperty(value = "实验室ID")
    private Long locationId;
    /** 实验室 */
    @ApiModelProperty(value = "实验室")
    private String location;
    /** 修改前 */
    @Excel(name = "修改前")
    @ApiModelProperty(value = "修改前")
    private BigDecimal beforeEdit;
    /** 修改后 */
    @Excel(name = "修改后")
    @ApiModelProperty(value = "修改后")
    private BigDecimal afterEdit;
    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "操作时间")
    private Date opTime;
    /** 联系方式 */
    @Excel(name = "联系方式")
    @Length(message = "联系方式长度不能超过11")
    @ApiModelProperty(value = "联系方式")
    private String phone;

    private String startTime;
    private String endTime;
}
