package com.ssm.ioc;

public class Notice {
    // 通知ID（主键）
    private Integer noticeId;
    // 关联用户ID（与用户模块关联）
    private Integer userId;
    // 通知标题
    private String noticeTitle;
    // 通知内容
    private String noticeContent;
    // 通知类型（如：预算提醒、交易提醒、系统通知）
    private String noticeType;
    // 通知状态（0-未读，1-已读）
    private Integer noticeStatus;
    // 通知创建时间
    private String createTime;

    public Integer getNoticeId() {
        return noticeId;
    }

    public void setNoticeId(Integer noticeId) {
        this.noticeId = noticeId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getNoticeTitle() {
        return noticeTitle;
    }

    public void setNoticeTitle(String noticeTitle) {
        this.noticeTitle = noticeTitle;
    }

    public String getNoticeContent() {
        return noticeContent;
    }

    public void setNoticeContent(String noticeContent) {
        this.noticeContent = noticeContent;
    }

    public String getNoticeType() {
        return noticeType;
    }

    public void setNoticeType(String noticeType) {
        this.noticeType = noticeType;
    }

    public Integer getNoticeStatus() {
        return noticeStatus;
    }

    public void setNoticeStatus(Integer noticeStatus) {
        this.noticeStatus = noticeStatus;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public void printNoticeInfo(){
        System.out.println("通知ID：" + getNoticeId());
        System.out.println("关联用户ID：" + getUserId());
        System.out.println("通知标题：" + getNoticeTitle());
        System.out.println("通知内容：" + getNoticeContent());
        System.out.println("通知类型：" + getNoticeType());
        System.out.println("通知状态：" + getNoticeStatus());
        System.out.println("创建时间：" + getCreateTime());
        System.out.println("------------------------\n");
    }
}
