package org.xyzh.api.message.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.xyzh.common.dto.BaseDTO;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @description    消息渠道配置DTO
 * @filename    TbMessageChannelDTO.java
 * @author    yslg
 * @copyright yslg
 * @since 2025-11-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "消息渠道配置DTO")
public class TbMessageChannelDTO extends BaseDTO {
    private static final long serialVersionUID = 1L;

    @Schema(description = "渠道ID")
    private String channelId;

    @Schema(description = "渠道编码：app/sms/email/wechat/dingtalk等")
    private String channelCode;

    @Schema(description = "渠道名称")
    private String channelName;

    @Schema(description = "渠道描述")
    private String channelDesc;

    @Schema(description = "渠道配置（JSON格式）")
    private String config;

    @Schema(description = "渠道状态：enabled-启用/disabled-禁用/maintenance-维护中")
    private String status;

    @Schema(description = "优先级（数字越大优先级越高）")
    private Integer priority;
}

