mirror of
https://github.com/EZ-Api/ez-api.git
synced 2026-01-13 17:47:51 +00:00
12 lines
344 B
Go
12 lines
344 B
Go
package model
|
|
|
|
import "gorm.io/gorm"
|
|
|
|
// Namespace represents a logical namespace for public models/bindings.
|
|
type Namespace struct {
|
|
gorm.Model
|
|
Name string `gorm:"size:100;uniqueIndex;not null" json:"name"`
|
|
Status string `gorm:"size:50;default:'active'" json:"status"`
|
|
Description string `gorm:"size:255" json:"description"`
|
|
}
|