package com.growthbeat.model;

import java.util.Date;
import java.util.HashMap;

import com.growthbeat.Context;

public class Account extends Model {

	private String id;
	private Date created;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public static Account findById(String id, Context context) {
		return get(context, String.format("1/accounts/%s", id), new HashMap<String, Object>(), Account.class);
	}

	public static Account create(Context context) {
		return post(context, "1/accounts", new HashMap<String, Object>(), Account.class);
	}

	public static void deleteById(String id, Context context) {
		delete(context, String.format("1/accounts/%s", id), new HashMap<String, Object>(), Void.class);
	}
}

@@ -164,16 +164,38 @@
 ing id;%0A
+%09private String name;%0A
 %09private
@@ -296,32 +296,138 @@
 is.id = id;%0A%09%7D%0A%0A
+%09public String getName() %7B%0A%09%09return name;%0A%09%7D%0A%0A%09public void setName(String name) %7B%0A%09%09this.name = name;%0A%09%7D%0A%0A
 %09public Date get

Add name into Account model