Skip to content

Commit

Permalink
✨ Confirm param in user.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Shion1305 committed Oct 11, 2024
1 parent 64dcfea commit ebda223
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions pkg/model/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ package model
import "time"

type User struct {
LINEID string `json:"line_id"`
Target Target `json:"target"`
AddDate time.Time `json:"add_date"`
LINEID string `firestore:"line_id"`
Target Target `firestore:"target"`
AddDate time.Time `firestore:"add_date"`
}

type PhoneNumber string

type Target struct {
Nickname string `json:"nickname"`
Phone PhoneNumber `json:"phone_number"`
CallTime string `json:"call_time"` // 12:00
Nickname string `firestore:"nickname"`
Phone PhoneNumber `firestore:"phone_number"`
CallTime string `firestore:"call_time"` // 12:00
Confirm bool `firestore:"confirm"`
}

0 comments on commit ebda223

Please sign in to comment.