package org.jeecg.modules.bytedance.advertise.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * Administrator
 * 2021/4/22
 **/
@Data
@ApiModel(description = "修改出价,预算-vo")
public class UpdAdStaOrCpaOrBudget implements Serializable {

    private String id;
    @ApiModelProperty(value = "1-修改出价 2-修改预算")
    private String type;
    @ApiModelProperty(value = "广告主id")
    private String accountId;

    List<Map<String,Object>> list;

    @ApiModelProperty(value = "计划id")
    private String adId;


    /**
     * 智能投放计划创建出价方式
     * 固定出价 FIX
     * 随机出价 RAND
     * 阶梯出价 STEP
     * */
    private String adBidCreateType;
    /**转化出价最小值*/
    private BigDecimal adMinBid;
    /**转化出价最大值*/
    private BigDecimal adMaxBid;
    /**转化出价阶梯出价步长*/
    private BigDecimal adStepBid;
    /**目标转化出价*/
    private BigDecimal adCpaBid;


    @ApiModelProperty(value = "预算")
    private String budget;
    /**
     * 1 不限
     * 2 指定预算
     */
    @ApiModelProperty(value = "预算类型")
    private String budgetType;
    @ApiModelProperty(value = "花费")
    private BigDecimal cost;


}