package com.gyee.frame.model.auto;

import java.io.Serializable;
import java.util.Date;

public class PushMessage implements Serializable {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column PUSHMESSAGE.ID
     *
     * @mbg.generated
     */
    private Short id;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column PUSHMESSAGE.KEY
     *
     * @mbg.generated
     */
    private String key;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column PUSHMESSAGE.MSG
     *
     * @mbg.generated
     */
    private String msg;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column PUSHMESSAGE.GETTIME
     *
     * @mbg.generated
     */
    private Date gettime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column PUSHMESSAGE.TAG
     *
     * @mbg.generated
     */
    private String tag;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column PUSHMESSAGE.ALLREADER
     *
     * @mbg.generated
     */
    private String allreader;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table PUSHMESSAGE
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column PUSHMESSAGE.ID
     *
     * @return the value of PUSHMESSAGE.ID
     *
     * @mbg.generated
     */
    public Short getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column PUSHMESSAGE.ID
     *
     * @param id the value for PUSHMESSAGE.ID
     *
     * @mbg.generated
     */
    public void setId(Short id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column PUSHMESSAGE.KEY
     *
     * @return the value of PUSHMESSAGE.KEY
     *
     * @mbg.generated
     */
    public String getKey() {
        return key;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column PUSHMESSAGE.KEY
     *
     * @param key the value for PUSHMESSAGE.KEY
     *
     * @mbg.generated
     */
    public void setKey(String key) {
        this.key = key == null ? null : key.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column PUSHMESSAGE.MSG
     *
     * @return the value of PUSHMESSAGE.MSG
     *
     * @mbg.generated
     */
    public String getMsg() {
        return msg;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column PUSHMESSAGE.MSG
     *
     * @param msg the value for PUSHMESSAGE.MSG
     *
     * @mbg.generated
     */
    public void setMsg(String msg) {
        this.msg = msg == null ? null : msg.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column PUSHMESSAGE.GETTIME
     *
     * @return the value of PUSHMESSAGE.GETTIME
     *
     * @mbg.generated
     */
    public Date getGettime() {
        return gettime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column PUSHMESSAGE.GETTIME
     *
     * @param gettime the value for PUSHMESSAGE.GETTIME
     *
     * @mbg.generated
     */
    public void setGettime(Date gettime) {
        this.gettime = gettime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column PUSHMESSAGE.TAG
     *
     * @return the value of PUSHMESSAGE.TAG
     *
     * @mbg.generated
     */
    public String getTag() {
        return tag;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column PUSHMESSAGE.TAG
     *
     * @param tag the value for PUSHMESSAGE.TAG
     *
     * @mbg.generated
     */
    public void setTag(String tag) {
        this.tag = tag == null ? null : tag.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column PUSHMESSAGE.ALLREADER
     *
     * @return the value of PUSHMESSAGE.ALLREADER
     *
     * @mbg.generated
     */
    public String getAllreader() {
        return allreader;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column PUSHMESSAGE.ALLREADER
     *
     * @param allreader the value for PUSHMESSAGE.ALLREADER
     *
     * @mbg.generated
     */
    public void setAllreader(String allreader) {
        this.allreader = allreader == null ? null : allreader.trim();
    }
}