import java.util.List;
import org.sql2o.*;

public class Stylist{
  private int mId;
  private String mName;

  public Stylist(String name){
    mName = name;
  }

  public int getId() {
    return mId;
  }

  public String getName() {
    return mName;
  }

  @Override
  public boolean equals(Object otherStylist){
    if (!(otherStylist instanceof Stylist)) {
      return false;
    } else {
      Stylist newStylist = (Stylist) otherStylist;
      return this.getName().equals(newStylist.getName());
    }
  }

  public static List<Stylist> all(){
    String sql = "SELECT id AS mId, name AS mName FROM stylists";
    try(Connection con = DB.sql2o.open()) {
      return con.createQuery(sql).executeAndFetch(Stylist.class);
    }
  }

  public void save() {
    try(Connection con = DB.sql2o.open()) {
      String sql = "INSERT INTO stylists(name) VALUES (:name)";
      this.mId = (int) con.createQuery(sql, true)
        .addParameter("name", this.mName)
        .executeUpdate()
        .getKey();
    }
  }


}

@@ -138,16 +138,21 @@
 e)%7B%0A    
+this.
 mName = 
@@ -1016,11 +1016,333 @@
  %7D%0A  %7D%0A%0A
+  public static Stylist find(int mId) %7B%0A    try(Connection con = DB.sql2o.open()) %7B%0A      String sql = %22SELECT id AS mId, name AS mName FROM stylists WHERE id=:id%22;%0A      Stylist stylist = con.createQuery(sql)%0A        .addParameter(%22id%22, mId)%0A        .executeAndFetchFirst(Stylist.class);%0A      return stylist;%0A    %7D%0A  %7D%0A%0A
 %0A%7D%0A

Add find method.