package com.jiuqi.mobile.core.service.db;
import java.io.Serializable;
import com.jqmobile.core.orm.DBColumn;
import com.jqmobile.core.orm.DBTable;
@DBTable(name="t_toy")
public class Toy implements Serializable{
/**
*
*/
@DBColumn(mapping=false)
private static final long serialVersionUID = -5688635583138384276L;
@DBColumn(primaryId=true)
private String id;
private String name;
private long birthday;
@DBColumn(date=true)
private long bir;
public long getBir() {
return bir;
}
public void setBir(long bir) {
this.bir = bir;
}
public long getBirthday() {
return birthday;
}
public void setBirthday(long birthday) {
this.birthday = birthday;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Override
public String toString() {
return "Toy [id=" + id + ", name=" + name + "]";
}
public Toy() {
// TODO Auto-generated constructor stub
}
public Toy(String id, String name, long birthday) {
super();
this.id = id;
this.name = name;
this.birthday = birthday;
}
public Toy(String id, String name,long birthday,long bir) {
super();
this.id = id;
this.name = name;
this.birthday=birthday;
this.bir=bir;
}
public Toy(String id, String name) {
super();
this.id = id;
this.name = name;
}
}