Comment.java :  » UnTagged » smartshop-project » com » appspot » smartshop » dom » Android Open Source

Android Open Source » UnTagged » smartshop project 
smartshop project » com » appspot » smartshop » dom » Comment.java
package com.appspot.smartshop.dom;

import java.lang.reflect.Type;
import java.util.Date;
import java.util.List;

import com.google.gson.reflect.TypeToken;

public class Comment {
  public Long id;
  public String content;
  public String type;
  public long type_id;
  public String username;
  public Date date_post;

  public Comment() {
  }

  public Comment(String content, String type, int typeId, String username) {
    this.content = content;
    this.type = type;
    type_id = typeId;
    this.username = username;
  }

  public static Type getType() {
    return new TypeToken<List<Comment>>() {
    }.getType();
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.