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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;

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

/**
 * 头条智能投放账户配置信息表
 * @author jeecg-boot
 * @date   2021-04-20
 * @version V1.0
 */
@Data
@TableName("ctop_ai_bytedance_advertiser_strategy")
public class AiBytedanceAdvertiserStrategy{

	/**id*/
	@TableId(type = IdType.AUTO)
	private Long id;
	/**账户id*/
	@Dict(dicCode = "account_id",dictTable = "ctop_user_allocation",dicText = "auth_name")
	private Long accountId;

	/**组名称*/
	private String campaignName;
	/**
	 * 是否使用自定义dplink标识
	 */
	private Integer dpLinkIndexUsed;
	/**
	 * dpLink组层级开始下标
	 */
	private Long dpLinkStartIndex;
	/**6
	 * dpLink组层级结束下标
	 */
	private Long dpLinkEndIndex;
	/**
	 * 策略下组最大创建数
	 */
	private Integer campaignCnt;
	/**
	 * 单个广告组下的计划最大创建数
	 */
	private Long campaignAdCnt;
	/**广告类型*/
	private String advertisingType;

	/**广告类型  FEED-信息流 SEARCH-搜索广告*/
	private String campaignType;
	/**账户预算类型*/
	private String accountBudgetMode;
	/**账户预算*/
	private BigDecimal accountBudget;
	/**组预算类型*/
	private String campaignBudgetMode;
	/**组预算*/
	private Integer campaignBudget;
	/**推广目的*/
	private String campaignLandingType;
	/**广告组商品类型*/
	private String campaignDeliveryRelatedNum;

	/**计划名称*/
	private String adName;
	/**投放范围(投放范围)*/
	private String adDeliveryRange;
	/**投放形式(投放范围)*/
	private String adUnionVideoType;
	/**下载方式(投放目标)*/
	private String adDownloadType;
	/**下载链接(投放目标)*/
	private String adDownloadUrl;
	/**快应用链接(投放目标)*/
	private String adQuickAppUrl;
	/**落地页链接(投放目标)*/
	private String adExternalUrl;
	/**下载的应用类型(投放目标)*/
	private String adAppType;
	/**应用包名(投放目标)*/
	private String adPackage;
	/**优先从系统应用商店下载(投放目标)*/
	private String adDownloadMode;
	/**转化目标OPCM时必填(投放目标)*/
	private Long adConvertId;
	/**直达链接(投放目标)*/
	private String adOpenUrl;
	/**附加创意类型(投放目标)*/
	private String adAdvancedCreativeType;
	/**应用描述(选择游戏礼包码时必填)(投放目标)*/
	private String adGamePackageDesc;
	/**游戏礼包码id(投放目标)*/
	private Integer adGamePackageBatchId;
	/**应用图片集(投放目标)*/
	private String adGamePackageThumbnailId;

	/**定向类型 add-新建定向；choice-选择定向*/
	private String adDirectionalFlag;

	/**定向包Id(用户定向)*/
	private String adAudiencePackageId;
	/**地域(用户定向)*/
	private String adDistrict;
	/**地域定向详细(用户定向)*/
	private String adCity;
	/**商圈id(用户定向)*/
	private String adBusinessIds;
	/**位置类型(用户定向)*/
	private String adLocationType;
	/**性别(用户定向)*/
	private String adGender;
	/**年龄(用户定向)*/
	private String adAge;
	/**定向人群包类型  1-定向 2-排除 3-同时定向和排除*/
	private String adRetargetingTagsType;
	/**定向人群包(用户定向)*/
	private String adRetargetingTagsInclude;
	/**排除人群包(用户定向)*/
	private String adRetargetingTagsExclude;
	/**行为兴趣(用户定向)*/
	private String adInterestActionMode;
	/**行为场景(用户定向)*/
	private String adActionScene;
	/**用户发生行为天数(用户定向)*/
	private Integer adActionDays;
	/**行为类目词(用户定向)*/
	private String adActionCategories;
	/**行为关键词(用户定向)*/
	private String adActionWords;
	/**兴趣类目词(用户定向)*/
	private String adInterestCategories;
	/**行为关键词(用户定向)*/
	private String adInterestWords;
	/**抖音达人互动用户行为类型(用户定向)*/
	private String adAwemeFanBehaviors;
	/**抖音达人分类ID列表(用户定向)*/
	private String adAwemeFanCategories;
	/**抖音达人ID列表(用户定向)*/
	private String adAwemeFanAccounts;
	/**账号粉丝相似人群(用户定向)*/
	private String adAwemeFansNumbers;
	/**过滤高活跃用户(用户定向)*/
	private Integer adFilterAwemeAbnormalActive;
	/**过滤高关注数用户(用户定向)*/
	private Integer adFilterAwemeFansCount;
	/**过滤自己的粉丝(用户定向)*/
	private Integer adFilterOwnAwemeFans;
	/**媒体定向(用户定向)*/
	private String adSuperiorPopularityType;
	/**定向逻辑(用户定向)*/
	private String adFlowPackage;
	/**排除定向逻辑(用户定向)*/
	private String adExcludeFlowPackage;
	/**平台(用户定向)*/
	private String adPlatform;
	/**最低安卓版本(用户定向)*/
	private String adAndroidOsv;
	/**最低IOS版本(用户定向)*/
	private String adAdIosOsv;
	/**设备类型(用户定向)*/
	private String adDeviceType;
	/**网络类型(用户定向)*/
	private String adAc;
	/**运营商(用户定向)*/
	private String adCarrier;
	/**过滤已安装(用户定向)*/
	private Integer adHideIfExists;
	/**过滤时间范围(用户定向)*/
	private String adConvertedTimeDuration;
	/**过滤已转化用户(用户定向)*/
	private String adHideIfConverted;
	/**新用户(用户定向)*/
	private String adActivateType;
	/**文章分类(用户定向)*/
	private String adArticleCategory;
	/**手机品牌(用户定向)*/
	private String adDeviceBrand;
	/**手机价格(用户定向)*/
	private String adLaunchPrice;
	/**是否启用智能放量(用户定向)*/
	private String adAutoExtendEnabled;
	/**可放开定向(用户定向)*/
	private String adAutoExtendTargets;
	/**投放场景-出价方式*/
	private String adSmartBidType;
	/**是否调整自动出价*/
	private Integer adAdjustCpa;
	/**竞价策略*/
	private String adFlowControlMode;
	/**预算类型*/
	private String adBudgetMode;
	/**计划预算*/
	private BigDecimal adBudget;
	/**投放时间类型*/
	private String adScheduleType;
	/**投放开始时间 */
	private String adStartTime;
	/**投放结束时间*/
	private String adEndTime;
	/**投放时段*/
	private String adScheduleTime;
	/**付费方式*/
	private String adPricing;
	/**
	 * 智能投放计划创建出价方式
	 * 固定出价 FIX
	 * 随机出价 RAND
	 * 阶梯出价 STEP
	 * */
	private String adBidCreateType;
	/**转化出价最小值*/
	private BigDecimal adMinBid;
	/**转化出价最大值*/
	private BigDecimal adMaxBid;
	/**转化出价阶梯出价步长*/
	private BigDecimal adStepBid;
	/**转化出价*/
	private BigDecimal adBid;
	/**目标转化出价*/
	private BigDecimal adCpaBid;
	//拼接 目标转化出价-前端展示
	@TableField(exist = false)
	private String adCpaBidStr;
	/**深度优化方式*/
	private String adDeepBidType;
	/**深度优化出价*/
	private BigDecimal adDeepCpabid;
	/**鲁班目标ROI出价策略系数*/
	private BigDecimal adLubanRoiGoal;
	/**深度转化ROI系数*/
	private BigDecimal adRoiGoal;
	/**广告位置*/
	private String creativeInventoryType;
	@TableField(exist = false)
	private String[] creativeInventoryTypes;
	/**优选广告位*/
	private String creativeSmartInventory;
	/**场景广告位*/
	private String creativeSceneInventory;
	/**创意方式*/
	private String creativeMaterialMode;
	/**程序化创意包id*/
	private Integer creativeProceduralPackageId;
	/**自动生成视频素材*/
	private Integer creativeIsPresentedVideo;
	/**是否开启衍生计划*/
	private Integer creativeGenerateDerivedAd;
	/**素材类型*/
	private String creativeImageMode;
	/**广告来源*/
	private String creativeSource;
	/**品牌主页 使用抖音号*/
	private String creativeIesCoreUserId;
	/**作品页隐藏广告内容*/
	private Integer creativeIsFeedAndFavSee;
	/**是否自动生成素材*/
	private Integer creativeAutoGenerateSwitch;
	/**应用名*/
	private String creativeAppName;
	/**app副标题*/
	private String creativeSubTitle;
	/**安卓应用下载详情页*/
	private String creativeWebUrl;
	/**行动号召按钮*/
	private String creativeActionText;
	/**搭配试玩素材url*/
	private String creativePlayableUrl;
	/**是否关闭评论*/
	private Integer creativeIsCommentDisable;
	/**商品卖点*/
	private String creativeProductSellingPoints;
	//商品卖点
	@TableField(exist = false)
	private String[] productSellingPoints;

	/**商品描述-卡片标题*/
	private String creativeProductDescription;
	/**推广卡片的行动号召*/
	private String creativeCallToAction;
	/**是否使用智能优选*/
	private Boolean creativeEnablePersonalAction;
	/**商品卡片id*/
	private String creativeProductImageId;
	//商品卡片md5
	private String creativeProductImageCode;
	/**创意展现方式*/
	private String creativeDisplayMode;
	//允许客户端下载视频功能 0开启；1关闭
	private Integer creativeDownloadStatus;
	/**创意分类*/
	private String creativeThirdIndustryId;

	/**创意标签*/
	private String creativeAdKeywords;
	@TableField(exist = false)
	private String[] adKeywords;

	/**展示监测链接*/
	private String creativeTrackUrl;
	/**点击监测链接*/
	private String creativeActionTrackUrl;
	/**视频有效播放监测链接*/
	private String creativeVideoPlayEffectiveTrackUrl;
	/**视频播放监测链接*/
	private String creativeVideoPlayTrackUrl;
	/**数据发送方式*/
	private String creativeTrackUrlSendType;
	/**状态*/
	private Integer status;
	/**创建时间*/
	private Date createTime;
	/**更新时间*/
	private Date updateTime;
	/**创建人id*/
	private String userId;

	@TableField(exist = false)
	private String loginUserId;

	@TableField(exist = false)
	private String imageUrl;

	//消耗
	@TableField(exist = false)
	private BigDecimal cost;
	//余额
	@TableField(exist = false)
	private BigDecimal validBalance;





	/**
	 * 营销目的
	 */
	private String marketingPurpose;
	/**
	 * 广告位大类
	 */
	private String inventoryCatalog;
	/**
	 * 组件id
	 */
	private String componentId;

	/**广告文案数量*/
	private Integer copywritingNumber;

}
