package models import "time" type Permission struct { ID uint `gorm:"primaryKey" json:"id"` Slug string `gorm:"unique;not null" json:"slug"` Name string `gorm:"not null" json:"name"` Description string `json:"description"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }