package com.junmp.jyzb.api.bean.query.inAndOutRecordReq;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
public class DetailJsonReq {
    private String locationId;
    private Integer num;
    private String locationName;
    private String typeId;
    private String typeName;
    private String sizeId;
    private String sizeName;
    private Integer modifyQuantity;
    //单价
    private BigDecimal price;
    //单价
    private BigDecimal unitPrice;
    //Epc类型（0固定资产1库存物资非固定资产）
    private Integer property;
    private Integer maintenancePeriod;
    private Integer warrantyPeriod;
    private Date productionDate;

    //归还入库使用（物资原来所在仓库）
    private String oldLocationId;

    public DetailJsonReq(String locationId, String locationName, String typeId, String typeName, String sizeId, String sizeName, BigDecimal price, Integer property, Integer num)
    {
        this.locationId = locationId;
        this.locationName = locationName;
        this.typeId = typeId;
        this.typeName = typeName;
        this.sizeId = sizeId;
        this.sizeName = sizeName;
        this.price = price;
        this.property = property;
        this.num = num;
    }

    //    private List<InventoryReq> InfoList;

}
