package com.zhongshu.card.server.core.domain.mqtt;

import com.zhongshu.card.server.core.domain.base.SuperMain;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.checkerframework.common.aliasing.qual.NonLeaked;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author TRX
 * @date 2024/7/30
 */
@Data
@Document
@AllArgsConstructor
@NoArgsConstructor
@NonLeaked
public class MqttConfig extends SuperMain {
    @Schema(description = "地址")
    private String url;
    @Schema(description = "用户名")
    private String userName;
    @Schema(description = "密码")
    private String passWord;
    private String port;
}
