package com.ruoyi.web.work.domain.dto;

import lombok.Data;
import lombok.experimental.Accessors;

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

@Data
@Accessors(chain = true)
public class StatisticsDto {

    private Long companyId;

    @NotNull(message = "参数错误")
    private Integer type;

    @NotBlank(message = "参数错误")
    private String year;
}
