package com.zd.airbottle.domain;

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_out
 * 
 * @author zd
 * @date 2022-05-23
 */
@ApiModel("气瓶出库")
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
public class QpBottleStorageOut extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id,数据唯一标识 */
    @ApiModelProperty(value = "${comment}")
    private Long id;
    /** 操作人 */
    @Excel(name = "操作人")
    @Length(message = "操作人长度不能超过50")
    @ApiModelProperty(value = "操作人")
    private String applyUserName;
    /** $column.columnComment */
    @Excel(name = "操作人")
    @ApiModelProperty(value = "操作人")
    private Long applyUserid;
    /** 联系方式 */
    @Excel(name = "联系方式")
    @Length(message = "联系方式长度不能超过11")
    @ApiModelProperty(value = "联系方式")
    private String phone;
    /** 入库表id */
    @Excel(name = "入库表id")
    @ApiModelProperty(value = "入库表id")
    private Long storageId;
    /** 运输车辆id */
    @Excel(name = "运输车辆id")
    @ApiModelProperty(value = "运输车辆id")
    private Long carId;
    /** 车辆号码 */
    @Excel(name = "车辆号码")
    @Length(message = "车辆号码长度不能超过50")
    @ApiModelProperty(value = "车辆号码")
    private String carNumber;
    /** 运输人员id */
    @Excel(name = "运输人员id")
    @ApiModelProperty(value = "运输人员id")
    private Long transportId;
    /** 运输人员姓名 */
    @Excel(name = "运输人员姓名")
    @Length(message = "运输人员姓名长度不能超过50")
    @ApiModelProperty(value = "运输人员姓名")
    private String transportName;
    /** 处理人id */
    @Excel(name = "处理人id")
    @ApiModelProperty(value = "处理人id")
    private Long disposeUserid;
    /** 处理人姓名 */
    @Excel(name = "处理人姓名")
    @Length(message = "处理人姓名长度不能超过50")
    @ApiModelProperty(value = "处理人姓名")
    private String disposeUsername;
    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "处理时间")
    private Date disposeTime;
    /** 实际出库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "实际出库时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "实际出库时间")
    private Date completeTime;
    /** 实际出库确认用户id */
    @Excel(name = "实际出库确认用户id")
    @ApiModelProperty(value = "实际出库确认用户id")
    private Long completeUserid;
    /** 实际出库确认用户 */
    @Excel(name = "实际出库确认用户")
    @Length(message = "实际出库确认用户长度不能超过255")
    @ApiModelProperty(value = "实际出库确认用户")
    private String completeUsername;
    /** 出库气压 */
    @Excel(name = "出库气压")
    @ApiModelProperty(value = "出库气压")
    private Double pressure;
    /** 出库状态 0待回收  1已确认 2已出库 */
    @Excel(name = "出库状态 0待回收  1已确认 2已出库")
    @ApiModelProperty(value = "出库状态 0待回收  1已确认 2已出库")
    private Long outStatus;
}
