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

pro.shuangxi.pojo.ForwardLine Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version
package pro.shuangxi.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author :mengshx
 * datetime :Created in 2022/3/29 14:48
 * 图片
 */
public class ForwardLine extends MessageLine {
    List content=new ArrayList<>();
    String title="转发消息";
    String brief="";
    String source="";
    String summary="查看消息";

    public ForwardLine() {
    }

    public ForwardLine(List content) {
        this.content = content;
    }

    public ForwardLine(List content, String title, String brief, String summary) {
        this.content = content;
        this.title = title;
        this.brief = brief;
        this.summary = summary;
    }

    public ForwardLine(List content, String title) {
        this.content = content;
        this.title = title;
    }

    public void add(ForwardNode node) {
        this.content.add(node);
    }
    public List getContent() {
        return content;
    }

    public void setContent(List content) {
        this.content = content;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getBrief() {
        return brief;
    }

    public void setBrief(String brief) {
        this.brief = brief;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public static class ForwardNode{
        String senderCode;
        String senderName;
        Date sendtime;
        Message Message;

        public String getSenderCode() {
            return senderCode;
        }

        public void setSenderCode(String senderCode) {
            this.senderCode = senderCode;
        }

        public String getSenderName() {
            return senderName;
        }

        public void setSenderName(String senderName) {
            this.senderName = senderName;
        }

        public pro.shuangxi.pojo.Message getMessage() {
            return Message;
        }

        public void setMessage(pro.shuangxi.pojo.Message message) {
            Message = message;
        }

        public Date getSendtime() {
            return sendtime;
        }

        public void setSendtime(Date sendtime) {
            this.sendtime = sendtime;
        }
    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy