Chore: project init
This commit is contained in:
9
internal/announcement/model.go
Normal file
9
internal/announcement/model.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package announcement
|
||||
|
||||
import "gorm.io/gorm"
|
||||
|
||||
type Announcement struct {
|
||||
gorm.Model
|
||||
Title string `gorm:"not null"`
|
||||
Content string `gorm:"type:text;not null"`
|
||||
}
|
||||
Reference in New Issue
Block a user