Created
April 13, 2015 08:05
-
-
Save lifeisfoo/27bee58f58b0beca7994 to your computer and use it in GitHub Desktop.
LogModel for logging in android and sqlite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.alessandro.sqlitetest; | |
public class LogModel { | |
private int id; | |
private int created; | |
private String content; | |
public LogModel(){} | |
public LogModel(String content) { | |
super(); | |
this.content = content; | |
} | |
public int getId() { | |
return id; | |
} | |
public void setId(int id) { | |
this.id = id; | |
} | |
public String getContent() { | |
return content; | |
} | |
public void setContent(String content) { | |
this.content = content; | |
} | |
public int getCreated() { | |
return created; | |
} | |
public void setCreated(int created) { | |
this.created = created; | |
} | |
@Override | |
public String toString() { | |
return "Log [id=" + id + ", created=" + created + ", content=" + content + "]"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment