package com.sonic.frog.domain.input;

import com.google.common.collect.Lists;
import com.sonic.frog.enums.AgeTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class HomeRecommendInput {

    @ApiModelProperty("页码")
    private int pn;

    @ApiModelProperty("每页大小")
    private int ps = 20;

    @ApiModelProperty("需要排除的ID列表")
    private List<Long> exList = Lists.newArrayList();

    @ApiModelProperty("是否随机")
    private Boolean random;

    @ApiModelProperty("类别：多选")
    private List<String> roleCodeList;

    @ApiModelProperty("性别列表 多选")
    private List<Integer> sexList = Lists.newArrayList();

    @ApiModelProperty("年龄列表 多选")
    private List<AgeTypeEnum> ageList = Lists.newArrayList();

    @ApiModelProperty("年龄范围列表(内部使用)")
    private List<AgeRange> ageRangeList = Lists.newArrayList();

}
