package com.njcn.event.pojo.param;

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

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

/**
 * <功能描述>
 *
 * @author wr
 * @createTime: 2023-03-23
 */
@Data
public class MTransientParam {
    @ApiModelProperty(value = "监测点id")
    @NotBlank(message = "监测点id不能为空")
    private String id;


    @ApiModelProperty(value = "区分主配网（0:主网 1:配网）")
    @NotNull(message = "区分类别不能为空")
    private Integer type;
}
