package com.njcn.product.advance.responsility.pojo.param;

import com.njcn.common.pojo.constant.PatternRegex;
import com.njcn.product.advance.eventSource.pojo.constant.HarmonicValidMessage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.util.List;

/**
 * @Author: cdf
 * @CreateTime: 2025-09-18
 * @Description:
 */
@Data
public class PHistoryHarmParam {


    @ApiModelProperty("开始时间")
    @NotBlank(message = HarmonicValidMessage.DATA_NOT_BLANK)
    @Pattern(regexp = PatternRegex.TIME_FORMAT, message = "时间格式错误")
    private String searchBeginTime;

    @ApiModelProperty("结束时间")
    @NotBlank(message = HarmonicValidMessage.DATA_NOT_BLANK)
    @Pattern(regexp = PatternRegex.TIME_FORMAT, message = "时间格式错误")
    private String searchEndTime;

    @NotBlank(message = HarmonicValidMessage.DATA_NOT_BLANK)
    @ApiModelProperty("监测点索引")
    private List<String> lineIds;
}
