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


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

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

/**
 * @author: lwh
 * @date: 2025-07-22
 * @description: 营销分组域名DTO
 */
@Data
@Schema(description = "营销分组域名入参")
public class MarketingGroupDomainDTO implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@Schema(description = "id")
	private Long id;

	/**
	 * 域名
	 */
	@Schema(description = "域名")
	@NotBlank(message = "域名不能为空")
	@Size(max = 255, message = "域名长度不能超过255")
	private String domain;

	/**
	 * 是否修改
	 */
	@Schema(description = "是否修改")
	private Boolean modify = false;
}
