package com.sw.mes.itemclean.clean.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.poi.ss.usermodel.ChildAnchor;

import javax.persistence.Access;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 分选成箱信息
 * </p>
 *
 * @author liuzemin
 * @since 2022-11-10
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "FxToBoxInfoPrintDto对象", description = "分选成箱信息")
public class FxToBoxInfoPrintDto implements Serializable {


    @ApiModelProperty("箱号")
    private String boxNo;

    @ApiModelProperty("分选批次")
    private String fxProductBatchNo;

    @ApiModelProperty("追溯厂家")
    private String fromMark;

    @ApiModelProperty("接收重量")
    private String weight;

    @ApiModelProperty("硅料名称")
    private String materialName;

    @ApiModelProperty("物料编号")
    private String materialCode;

    @ApiModelProperty("等级")
    private String materialLevel;

    @ApiModelProperty("物料型号")
    private String materialModel;

    @ApiModelProperty("档位")
    private String materialGear;

//    @ApiModelProperty("物料来源")
//    private String sourceProcess;

    @ApiModelProperty("操作员")
    private String createUser;

    @ApiModelProperty("生产日期")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("余料生产批次")
    private String productBatchNo;

    @ApiModelProperty(value = "班组")
    private String classNo;

    @ApiModelProperty("去向")
    private String hasGone;

}
