crm/models/followup.go
2026-01-13 18:02:43 +08:00

35 lines
1.2 KiB
Go

package models
import "time"
// FollowUp represents a customer follow-up record
type FollowUp struct {
ID string `json:"id"`
CreatedAt time.Time `json:"createdAt"`
CustomerName string `json:"customerName"`
DealStatus string `json:"dealStatus"` // 未成交, 已成交
CustomerLevel string `json:"customerLevel"` // A, B, C
Industry string `json:"industry"`
FollowUpTime time.Time `json:"followUpTime"`
NotificationSent bool `json:"notificationSent"`
}
// CreateFollowUpRequest represents the request to create a follow-up
type CreateFollowUpRequest struct {
CustomerName string `json:"customerName"`
DealStatus string `json:"dealStatus"`
CustomerLevel string `json:"customerLevel"`
Industry string `json:"industry"`
FollowUpTime string `json:"followUpTime"`
}
// UpdateFollowUpRequest represents the request to update a follow-up
type UpdateFollowUpRequest struct {
CustomerName *string `json:"customerName"`
DealStatus *string `json:"dealStatus"`
CustomerLevel *string `json:"customerLevel"`
Industry *string `json:"industry"`
FollowUpTime *string `json:"followUpTime"`
NotificationSent *bool `json:"notificationSent"`
}