package com.xdap.self_development.controller.form;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class BenchmarkingReportPageForm {
    private String title;
    private String manufacturerName;
    private String modelName;
    private String productNumber;
    private String module;
    private String plate;
    private String platform;
    private String series;
    private String marketSegment;
    private String projectName;
    private String projectNumber;
    private String status;

    @NotBlank(message = "上传用户不能为空")
    private String createBy;

    @NotNull(message = "页码不能为空")
    @Min(value = 1, message = "页码不能小于1")
    private Integer pageNumber;

    @NotNull(message = "每页条数不能为空")
    @Min(value = 1, message = "每页条数不能小于1")
    private Integer pageSize;
}
