add textAttr setter and getter to model