package com.ximai.mes.remote.dto;

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

import java.math.BigDecimal;

/**
 * 完工入库 FinishStockInCreate
 *
 * @date 2024-10-25
 */
@Data
public class FinishStockInCreateDetail
{
    @ApiModelProperty("入库单号")
    @JsonProperty("tg002")
    private String stockInNo;

    @ApiModelProperty("入库数量")
    @JsonProperty("tg011")
    private BigDecimal inQuantity;

    @ApiModelProperty("工单单别")
    @JsonProperty("tg014")
    private String workorderType;

    @ApiModelProperty("工单单号")
    @JsonProperty("tg015")
    private String workorderCode;

    @ApiModelProperty("验收数量")
    @JsonProperty("tg013")
    private BigDecimal checkQuantity;

    @ApiModelProperty("报废数量")
    @JsonProperty("tg012")
    private BigDecimal scrapQuantity = BigDecimal.ZERO;

    @ApiModelProperty("验退数量")
    @JsonProperty("tg023")
    private BigDecimal returnQuantity = BigDecimal.ZERO;

    @ApiModelProperty("破坏数量")
    @JsonProperty("tg032")
    private BigDecimal destroyQuantity = BigDecimal.ZERO;

    @ApiModelProperty("批号")
    @JsonProperty("tg017")
    private String batchNo;

}
