| 123456789101112131415161718 |
- package model
- import "time"
- type MerchantRaw struct {
- ID uint `gorm:"primaryKey;autoIncrement" json:"id"`
- MerchantName string `gorm:"size:500" json:"merchant_name"`
- TgUsername string `gorm:"size:255;index" json:"tg_username"`
- Website string `gorm:"size:2048" json:"website"`
- Email string `gorm:"size:255" json:"email"`
- Phone string `gorm:"size:100" json:"phone"`
- Industry string `gorm:"size:100" json:"industry"`
- SourceType string `gorm:"type:enum('tg_scrape','web_crawl','github');not null" json:"source_type"`
- SourceID string `gorm:"size:500" json:"source_id"`
- OriginalMessage string `gorm:"type:text" json:"original_message"`
- Status string `gorm:"type:enum('raw','glm_parsed');default:'raw';index" json:"status"`
- CreatedAt time.Time `json:"created_at"`
- }
|