package com.crm.rely.backend.core.dto.web.activity;

import com.crm.rely.backend.core.dto.web.activity.close.function.WebActivityCloseFunctionDto;
import com.crm.rely.backend.core.dto.web.activity.group.type.WebActivityGroupTypeDto;
import com.crm.rely.backend.core.dto.web.activity.login.type.WebActivityLoginTypeDto;
import com.crm.rely.backend.core.dto.web.activity.tag.WebActivityTagDto;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class WebActivitySearchDto {

    private Long id;

    private String title;

    private String subTitle;

    private String lang;

    private List<String> countrys;

    private String advertImage;

    private String advertUrl;

    private String coverImage;

    private String activityImage;

    private String content;

    private Date deliveryTime;

    private Date startTime;

    private Date endTime;

    private Integer hot;

    private Integer number;

    private Integer valid;

    /**
     * 高级设置开关 0关 1开 在关的时候 下列所有功能不开启
     */
    private Integer seniorSetting;

    /**
     * 组别类型-活动中调整到的组别  如果为null不修改
     */
    private Long groupTypeActivity;

    /**
     * 组别类型-活动完成调整的组别 如果为null不修改
     */
    private Long groupTypeComplete;

    /**
     * 资金类型 1出入金 2 信用金  如果为null 则下列give_amount金额不触发
     */
    private Integer fundType;

    /**
     * 赠送金额 usd
     */
    private BigDecimal giveAmount;

    private Integer creditLoss;

    private List<WebActivityLoginTypeDto> loginTypes;

    private List<WebActivityTagDto> tags;

    private List<WebActivityGroupTypeDto> groupTypes;

    private List<WebActivityCloseFunctionDto> closeFunctions;
}
