@@ -42,7 +42,7 @@ type Unit struct {
isActiveReady bool `reform:"-"`
}
-func (u *Unit) AfterFind() error {
+func (u *Unit) AfterFind(dbI interface{}) error {
if u.Name != nil {
*u.Name = strings.Trim(*u.Name, " ")