package com.zhongshu.card.client.model.tip;

import com.zhongshu.card.client.model.base.SuperSearch;
import com.zhongshu.card.client.type.tip.BusFunctionType;
import com.zhongshu.card.client.type.tip.TipType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author TRX
 * @date 2025/2/19
 */
@Data
public class TipInfoSearch extends SuperSearch {

    @Schema(description = "消息标题")
    private String title;

    @Schema(description = "消息内容")
    private String content;

    @Schema(description = "消息类型，如：系统信息、用户信息")
    private TipType tipType;

    //--------------------------那个用户发送的 start ----------------

    @Schema(description = "发送用户的userId")
    private String fromUserId;

    private String fromUserName;

    //--------------------------关于那个用户的信息 start--------------
    private String toUserId;

    private String toUserName;

    //---------------------是否阅读 start -------------

    @Schema(description = "是否阅读")
    private Boolean isRead;

    //----------------------业务参数 start -------------

    @Schema(description = "关联业务数据id")
    private String busDataId;

    @Schema(description = "业务功能类型")
    private BusFunctionType busFunctionType;

    @Schema(description = "业务数据状态")
    private String busStateStr;

    @Schema(description = "微信小程序openid")
    private String openId;

    private Boolean isDesen;
}
