package com.njcn.process.pojo.param;

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

import javax.validation.constraints.NotNull;

/**
 * 用户投诉Param
 * @author xiaoyao
 * @version 1.0.0
 * @createTime 2022/11/14 10:40
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ComplaintParam extends IssuesParam {

    @ApiModelProperty(name = "userType",value = "用户类别")
//    @NotNull(message = "用户类别不可为空")
    private String userType;

    @ApiModelProperty(name = "userNo",value = "用户编号")
    @NotNull(message = "用户编号不可为空")
    private String userNo;

    @ApiModelProperty(name = "userName",value = "用户名称")
    @NotNull(message = "用户类别不可为空")
    private String userName;

    @ApiModelProperty(name = "complaintContent",value = "投诉内容")
    @NotNull(message = "投诉内容不可为空")
    private String complaintContent;

    @ApiModelProperty(name = "complaintTime",value = "投诉时间")
    @NotNull(message = "投诉时间不可为空")
    private String complaintTime;

    @ApiModelProperty(name = "steadyState",value = "稳态指标")
    @NotNull(message = "稳态指标不可为空")
    private String[] steadyState;

    @ApiModelProperty(name = "transientIndicators",value = "暂态指标")
    @NotNull(message = "暂态指标不可为空")
    private String[] transientIndicators;

    @ApiModelProperty(name = "electricityType",value = "用电类别")
//    @NotNull(message = "用电类别不可为空")
    private String electricityType;
}
