package com.shkj.wms.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.shkj.common.annotation.Excel;
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 BaseBarcodesOutThirdSyncBo implements Serializable {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 产品编码 */
    private String goodsNo;

    /** 条码信息 */
    private String qrCode;

    /** Vin号 */
    @NotBlank(message = "Vin号不得为空")
    private String vin;

    /** 派生 */
    @NotBlank(message = "派生不得为空")
    private String derive;

    /** 过点时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+7")
    private Date traverseDate;

    /** 颜色 */
    @NotBlank(message = "颜色不得为空")
    private String color;

    /** 车型 */
    @NotBlank(message = "车型不得为空")
    private String bumperType;

    /** 车型代码 */
    @NotBlank(message = "车型代码不得为空")
    private String vehicleCode;

    /** 状态 1待出库 2已出库 3出库中 */
    private String outStatus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+7")
    private  Date createTime;
    private  String createBy;
}
