create entity(model))
added getters and setters