package org.qinan.safetyeval.client.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.qinan.safetyeval.client.change.request.*;

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

@Data
public class AggregationSaveOrEditQualFilingChangeCmd {

    @ApiModelProperty(hidden = true, value = "是否变更新增")
    private boolean add;

    @ApiModelProperty(value = "基本信息")
    @NotNull
    private QualFilingChangeAddCmd qualFilingChangeAddCmd;

    @ApiModelProperty(value = "备案承诺书")
    private QualFilingCommitmentChangeAddCmd qualFilingCommitmentChangeAddCmd;

    @ApiModelProperty(value = "备案装备")
    private List<QualFilingEquipmentChangeAddCmd> qualFilingEquipmentChangeAddCmds;

    @ApiModelProperty(value = "备案材料清单")
    private List<QualFilingMaterialChangeAddCmd> qualFilingMaterialChangeAddCmds;

    @ApiModelProperty(value = "备案人员")
    private List<QualFilingPersonnelChangeAddCmd> qualFilingPersonnelChangeAddCmds;

    @ApiModelProperty(value = "备案人员证书列表")
    private List<QualFilingPersonnelCertChangeAddCmd> qualFilingPersonnelCertChangeAddCmds;
}
