zoukankan      html  css  js  c++  java
  • 团队作业

    发送电子邮件:

    package com.atguigu.crud.bean;

    import java.util.Date;

    import org.springframework.format.annotation.DateTimeFormat;

    import com.fasterxml.jackson.annotation.JsonFormat;

    public class Message {
    private Long id;

    private Long receive_user;
    private User user;
    private String content;

    public User getUser() {
    return user;
    }

    public void setUser(User user) {
    this.user = user;
    }

    private Byte type;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date create_time;

    private Long link_user;

    private Byte is_read;

    public Long getId() {
    return id;
    }

    public void setId(Long id) {
    this.id = id;
    }

    public Long getReceive_user() {
    return receive_user;
    }

    public void setReceive_user(Long receive_user) {
    this.receive_user = receive_user;
    }

    public String getContent() {
    return content;
    }

    public void setContent(String content) {
    this.content = content == null ? null : content.trim();
    }

    public Byte getType() {
    return type;
    }

    public void setType(Byte type) {
    this.type = type;
    }

    public Date getCreate_time() {
    return create_time;
    }

    public void setCreate_time(Date create_time) {
    this.create_time = create_time;
    }

    public Long getLink_user() {
    return link_user;
    }

    public void setLink_user(Long link_user) {
    this.link_user = link_user;
    }

    public Byte getIs_read() {
    return is_read;
    }

    public void setIs_read(Byte is_read) {
    this.is_read = is_read;
    }
    }

  • 相关阅读:
    Hbase数据备份&&容灾方案
    maven 高级玩法
    Python操作MySQL -即pymysql/SQLAlchemy用法
    python
    Redis的AOF功能
    Redis的快照功能
    查看哪些进程占用了SWAP分区?
    Java进程CPU使用率高排查
    利用iptables实现基于端口的网络流量统计
    从free命令看Linux内存管理
  • 原文地址:https://www.cnblogs.com/9635741zly/p/14916565.html
Copyright © 2011-2022 走看看