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


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

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @author: lwh
 * @date: 2025-07-27
 * @description: 修改应用域名列表入参
 */
@Data
@Schema(description = "修改应用域名列表入参")
public class ModMarketingAppsDomainDTO implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

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

	/**
	 * 删除的分组域名id
	 */
	@Schema(description = "删除的分组域名id")
	List<Long> delDomains;

	@Valid
	@Schema(description = "域名列表")
	private List<MarketingAppsDomainDTO> domains;
}
