package com.shkj.wms.bo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@Accessors(chain = true)
public class BaseBarcodesInThirdRepairBo implements Serializable {
    private static final long serialVersionUID = 1L;


    /** 条码信息 */
    @NotBlank(message = "条码信息不得为空")
    private String qrCode;


    /** 是否维修 0 不返修 1 返修 */
    @NotBlank(message = "返修信息不得为空")
    private String isRepair;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+7")
    private Date repairTime;

    /** 入库状态 */
    private String inStatus;



}
