28 lines
857 B
Go
28 lines
857 B
Go
package models
|
|
|
|
import "time"
|
|
|
|
// Inquiry 合作咨询
|
|
type Inquiry struct {
|
|
ID uint `json:"id"`
|
|
Name string `json:"name"`
|
|
Company string `json:"company"`
|
|
ContactMethod string `json:"contactMethod"` // email, wechat, phone
|
|
ContactValue string `json:"contactValue"`
|
|
Budget string `json:"budget"`
|
|
Description string `json:"description"`
|
|
Status int `json:"status"` // 0-Unread, 1-Read, 2-Contacted
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
UpdatedAt time.Time `json:"updatedAt"`
|
|
}
|
|
|
|
// EmailSuffix 邮箱后缀配置
|
|
type EmailSuffix struct {
|
|
ID uint `json:"id"`
|
|
Suffix string `json:"suffix"`
|
|
IsActive bool `json:"isActive"`
|
|
SortOrder int `json:"sortOrder"`
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
UpdatedAt time.Time `json:"updatedAt"`
|
|
}
|