Demo entry 6677518

BlackList.java

   

Submitted by anonymous on Dec 04, 2017 at 05:52
Language: Java. Code size: 1.2 kB.

package cn.rongcloud.im.db;

// THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT. Enable "keep" sections if you want to edit.
/**
 * Entity mapped to table BLACK_LIST.
 */
public class BlackList {

    /** Not-null value. */
    private String userId;
    private String status;
    private Long timestamp;

    public BlackList() {
    }

    public BlackList(String userId) {
        this.userId = userId;
    }

    public BlackList(String userId, String status, Long timestamp) {
        this.userId = userId;
        this.status = status;
        this.timestamp = timestamp;
    }

    /** Not-null value. */
    public String getUserId() {
        return userId;
    }

    /** Not-null value; ensure this value is available before it is saved to the database. */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).