package database import ( "time" ) type Tag struct { ID string `gorm:"primaryKey;not null" json:"id"` Code string `gorm:"not null;unique" json:"code"` Name string `gorm:"not null" json:"name"` CreatedAt time.Time `gorm:"default:CURRENT_TIMESTAMP" json:"created_at"` UpdatedAt time.Time `gorm:"default:CURRENT_TIMESTAMP" json:"updated_at"` }