All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xin.alum.aim.model.Pusher Maven / Gradle / Ivy

There is a newer version: 1.9.6
Show newest version
package xin.alum.aim.model;

import lombok.Data;

import java.io.Serializable;

/**
 * @auther Alum(alum @ live.cn)
 * @date 2021/8/19 11:06
 */
@Data
public class Pusher implements Serializable {
    /**
     * 接受者
     */
    private String recipient = "";

    /**
     * 接受数据
     */
    private T data;

    public Pusher() {
    }

    public Pusher(String recipient, T data) {
        this.recipient = recipient;
        this.data = data;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy