package model import ( "time" model "gitlab.com/mbugroup/lti-api.git/internal/modules/users/models" "gorm.io/gorm" ) type Uom struct { Id uint `gorm:"primaryKey"` Name string `gorm:"not null"` CreatedBy int64 `gorm:"not null"` CreatedAt time.Time UpdatedAt time.Time DeletedAt gorm.DeletedAt `gorm:"index" json:"-"` CreatedUser model.User `gorm:"foreignKey:CreatedBy;references:Id"` }