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

import com.junmp.v2.common.bean.request.ValidationApi;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
public class UpdateDetailReq {

    @NotBlank(message = "明细Id", groups = {ValidationApi.edit.class})
    private String detailId;


    private List<eqList> eqList;


    @Data
    // 内部类
    public static class eqList {
        private String productionDate;

        private String warrantyPeriod;

        private String maintenancePeriod;
        private String num;
        private String price;
    }

}