package com.pig4cloud.pig.marketing.api.dto.app;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author: lwh
 * @date: 2025-07-22
 * @description: 设置应用信息入参
 */

@Data
@Schema(description = "设置应用信息入参")
public class SetMarketingAppsDTO implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@Schema(description = "id")
	@NotNull(message = "不能为空")
	private Long id;

	/**
	 * 应用类型
	 */
	@Schema(description = "应用类型,0-Android,1-IOS")
	private Integer domainType;

	/**
	 * 域名限制
	 */
	@Schema(description = "域名限制")
	Boolean domainLimit;

	/**
	 * 营销投放
	 */
	@Schema(description = "营销投放")
	Boolean launch;

	/**
	 * 触发规则
	 */
	@Schema(description = "触发规则,1-仅一次,2-多次")
	Integer triggerRule;

}
