package com.ruoyi.novel.domain;

import lombok.Data;

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

// AdCountRequest.java
@Data
public class AdCountRequest {
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @NotNull(message = "章节ID不能为空")
    private Long chapterId;

    @NotBlank(message = "广告平台不能为空")
    private String adPlatform;

    @NotBlank(message = "设备ID不能为空")
    private String deviceId;

    public String source;

    public String adType;

}