14 рядки
322 B
Go
14 рядки
322 B
Go
package domain
|
|
|
|
// Share grants a user access to a list they do not own. A pending share has no
|
|
// local user row yet because its Telegram identity has not contacted the bot.
|
|
type Share struct {
|
|
ID int64
|
|
ListID int64
|
|
UserID int64
|
|
TelegramID int64
|
|
Username string
|
|
Role Role
|
|
Pending bool
|
|
}
|