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


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

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

/**
 * @author: lwh
 * @date: 2025-08-28
 * @description: 保存TCP上报数据入参
 */
@Data
@Schema(description = "保存TCP上报数据入参")
public class SaveTcpMessageDTO implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	@Schema(description = "客户端ID", example = "e478d52e-c773-45e7-b7f9-20ffeb14e730")
	@NotBlank(message = "客户端ID不能为空")
	private String clientID;

	@Schema(description = "数据")
	private String msgData;

	@Schema(description = "上报IP", example = "127.0.0.1")
	private String clientIp;

	@Schema(description = "上报域名报域名", example = "www.baidu.com")
	private String clientDomain;;
}
