public UITimeType_List(TimeType model) { this.id = model.id; this.code = model.code; this.active = Activatable.ActiveAsString(model.active); this.name = model.name; this.unit = model.unit; this.editcmdlink = Images.EDIT(); this.deletecmdlink = Images.DELETE(); }