package com.cf.imes.module.system.controller.admin.funds.advertisement.vo;

import com.cf.imes.framework.common.pojo.PageParam;
import com.cf.imes.framework.common.validation.InScope;
import com.cf.imes.module.system.enums.advertisement.AdvertisementPositionEnum;
import com.cf.imes.module.system.validation.advertisement.AdvertisementStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.List;

@Schema(description = "管理后台 - 广告分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AdvertisementPageReqVO extends PageParam {

    @Schema(description = "广告id", example = "163681486581530624")
    private Long id;

    @Schema(description = "广告名称", example = "西亚哈")
    private String adName;

    @Schema(description = "广告位置")
    @InScope(value = AdvertisementPositionEnum.class, desc = "inScope.adPosition")
    private List<Integer> adPosition;

    @Schema(description = "广告状态，0未发布 1已发布 2已结束", example = "0")
    @AdvertisementStatus
    private Integer status;

}
