second commit

This commit is contained in:
Rogee
2026-06-04 15:44:48 +08:00
parent 4db6efb3a7
commit 8ac150bc7b
1275 changed files with 286124 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
package model
// DraftMessage represents a draft (unsent) message in a conversation.
// Reference: Chatwoot app/models/draft_message.rb
type DraftMessage struct {
Base
ConversationID uint `gorm:"index;not null" json:"conversation_id"`
UserID uint `gorm:"index;not null" json:"user_id"`
Content string `gorm:"type:text" json:"content"`
}
func (DraftMessage) TableName() string { return "draft_messages" }