package com.qqchen.deploy.backend.notification.dto;

import com.qqchen.deploy.backend.framework.annotation.QueryField;
import com.qqchen.deploy.backend.framework.enums.QueryType;
import com.qqchen.deploy.backend.framework.query.BaseQuery;
import com.qqchen.deploy.backend.notification.enums.NotificationChannelStatusEnum;
import com.qqchen.deploy.backend.notification.enums.NotificationChannelTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 通知渠道查询条件
 *
 * @author qqchen
 * @since 2025-10-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "通知渠道查询条件")
public class NotificationChannelQuery extends BaseQuery {
    
    @Schema(description = "渠道名称（模糊查询）")
    @QueryField(field = "name", type = QueryType.LIKE)
    private String name;
    
    @Schema(description = "渠道类型")
    @QueryField(field = "channelType")
    private NotificationChannelTypeEnum channelType;
    
    @Schema(description = "状态")
    @QueryField(field = "status")
    private NotificationChannelStatusEnum status;
}

