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

import com.baomidou.mybatisplus.annotation.TableField;
import com.junmp.v2.common.bean.request.BaseRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

@Data
@EqualsAndHashCode(callSuper = true)
public class OrderDetailReq extends BaseRequest {

    private Long id;

    @NotBlank(message = "任务单id不能为空",groups = {detail.class})
    private String orderId;

    private String type;

    private String typeId;

    private String typeName;

    private String sizeId;

    private String sizeName;

    private String supplierId;

    private String supplierName;

    private Integer planNum;

    private Integer actualNum;

    private String price;

    //计划金额
    private BigDecimal totalPrice;

    //实际金额
    private BigDecimal actualTotalPrice;

    private String detailJson;

    private String orderType;

    private Date createTime;

    private Date updateTime;

    private String createUser;

    private String updateUser;

    private String warehouseId;

    private String warehouseName;

    /**
     * 修改后数量(记账数量)
     */
    private Integer modifyQuantity;

    /**
     * 生产日期
     */
    private Date productionDate;

    /**
     * 质保期
     */
    private Integer warrantyPeriod;

    /**
     * 维保期
     */
    private Integer maintenancePeriod;
    private String remark;

    //Epc类型（0固定资产1库存物资非固定资产）
    private Integer property;


}
