9 lines
162 B
Go
9 lines
162 B
Go
|
package pgModels
|
||
|
|
||
|
// Source model
|
||
|
type Source struct {
|
||
|
BaseModel
|
||
|
DisplayName string `gorm:"type:text"`
|
||
|
Domain string `gorm:"type:text;not null;unique"`
|
||
|
}
|