package com.sw.mes.yb.production.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * @author lf
 * @description
 * @date 2024/1/22 17:18
 */
@Data
@ApiModel(value = "DocketMasterAlloyPrintDto对象", description = "母合金信息")
public class DocketMasterAlloyPrintDto implements Serializable {
    @ApiModelProperty(value = "打印模板对应打印模板的documentMould")
    String printModel;
    @ApiModelProperty(value = "打印类型:对应打印模板的documentName")
    String printType;
    @ApiModelProperty(value = "打印份数")
    Integer printNum;
    @ApiModelProperty(value = "是否预览")
    Boolean isPreview;
    @ApiModelProperty(value = "工单号")
    String workOrderNumber;
    @ApiModelProperty(value = "炉台号")
    String furnaceCode;
    @ApiModelProperty(value = "加次")
    String addTime;
    @ApiModelProperty("配方方案名称")
    private String recipeName;
    @ApiModelProperty("创建人")
    private String createUser;
    @ApiModelProperty(value = "母合金档位")
    BigDecimal motherAlloyGear;
    @ApiModelProperty(value = "母合金重量")
    BigDecimal motherAlloyWeight;
    @ApiModelProperty("创建时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate;
}
