mirror of
https://github.com/Receipt-Wrangler/receipt-wrangler-api.git
synced 2026-05-05 00:19:30 -05:00
12 lines
346 B
Go
12 lines
346 B
Go
package models
|
|
|
|
import "time"
|
|
|
|
type GroupMember struct {
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
UpdatedAt time.Time `json:"updatedAt"`
|
|
UserID uint `gorm:"primaryKey;autoIncrement:false" json:"userId"`
|
|
GroupID uint `gorm:"primaryKey;autoIncrement:false" json:"groupId"`
|
|
GroupRole GroupRole `gorm:"not null" json:"groupRole"`
|
|
}
|