@@ -0,0 +1,12 @@
|
||||
package sav
|
||||
|
||||
import "time"
|
||||
|
||||
type Contact struct {
|
||||
ID string `gorm:"type:uuid;primaryKey" json:"id"`
|
||||
Username string `gorm:"size:64;not null" json:"username"`
|
||||
Telegram string `gorm:"size:64;not null" json:"telegram"`
|
||||
Sujet string `gorm:"size:64;not null" json:"sujet"`
|
||||
Message string `gorm:"size:64;not null" json:"message"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
}
|
||||
Reference in New Issue
Block a user