package com.microservices.zone.specialProject.domain.vo;

import com.microservices.common.core.utils.bean.BeanUtils;
import com.microservices.zone.specialProject.domain.ZoneSpecialProjectReport;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author OTTO
 */
@Data
@ApiModel("专项项目会议报告搜索对象")
public class ZoneSpecialProjectReportSearchVo {

    @ApiModelProperty(value = "专项项目id", required = true)
    @NotNull
    private Long specialProjectId;
    @ApiModelProperty(value = "报告名称")
    private String name;


    public ZoneSpecialProjectReport toZoneSpecialProjectReport() {
        ZoneSpecialProjectReport target = new ZoneSpecialProjectReport();
        BeanUtils.copyProperties(this, target);
        return target;
    }
}