package com.pig4cloud.pig.statistics.api.dto.uninstall;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author: wcl
 * @date: 2025-08-13
 * @description: 获取卸载趋势DTO
 */
@Data
@Schema(name = "GetUninstallTrendDTO", description = "获取卸载趋势参数")
public class GetUninstallTrendDTO {

	@Schema(description = "开始时间(yyyy-MM-dd)，不传则默认为当周第一天")
	private String startDate;

	@Schema(description = "结束时间(yyyy-MM-dd)，不传则默认为当前时间")
	private String endDate;

	@Schema(description = "时间单位(day/week/month)，不传则默认为day")
	@NotBlank(message = "时间单位不能为空")
	private String timeUnit;

	@Schema(description = "appId")
	private String appId;

	@Schema(description = "渠道")
	private String channel;

	@Schema(description = "版本")
	private String version;
	
}
