package com.njcn.energy.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 类的介绍：
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2022/3/16 9:14
 */
@Data
public class DataGroupParam {

    @ApiModelProperty(value = "数据集表Id")
    @NotEmpty(message = "数据集表Id不可为空")
    private String pid;

    @ApiModelProperty(value = "分组名称")
    private String name;

    @ApiModelProperty(value = "统计方式")
    private String statMethod;

    @ApiModelProperty(value = "相别")
    private String phase;

    @ApiModelProperty(value = "排序")
    private Integer sort;

}
