合作页面的内容
This commit is contained in:
30
server/models/services.go
Normal file
30
server/models/services.go
Normal file
@@ -0,0 +1,30 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// Testimonial 客户评价模型
|
||||
type Testimonial struct {
|
||||
ID uint `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Role string `json:"role"`
|
||||
Content string `json:"content"`
|
||||
Avatar string `json:"avatar"`
|
||||
Rating uint8 `json:"rating"`
|
||||
SortOrder uint `json:"sortOrder"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
UpdatedAt time.Time `json:"updatedAt"`
|
||||
}
|
||||
|
||||
// Partner 合作伙伴模型
|
||||
type Partner struct {
|
||||
ID uint `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Logo string `json:"logo"`
|
||||
Description string `json:"description"`
|
||||
URL string `json:"url"`
|
||||
SortOrder uint `json:"sortOrder"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
UpdatedAt time.Time `json:"updatedAt"`
|
||||
}
|
||||
Reference in New Issue
Block a user