package com.ltgk.catches.domain.dto;


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

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

/**
 * 水产品价格走势及预测请求参数
 *
 * @author Qi ChengBin
 * @date 2025/01/09 11:20:03
 */
@Data
public class TpAquaticProductPriceTrendAndPredictionReq {

    @ApiParam(value = "开始时间 yyyy-MM-dd HH:mm:ss")
    @NotBlank(message = "开始时间不能为空")
    private String beginTime;

    @ApiParam(value = "结束时间 yyyy-MM-dd HH:mm:ss")
    @NotBlank(message = "结束时间不能为空")
    private String endTime;

    @ApiParam(value = "时间轴单位 hour、day、month")
    @NotBlank(message = "时间选择不能为空")
    private String timeInterval;

    @ApiParam(value = "产品名称")
    @NotNull(message = "产品名称不能为空")
    private String productName;

    @ApiParam(value = "交易市场")
    private String salePlace;
}
