model

package
v0.0.0-...-cc1fd88 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionItem

type ActionItem struct {
	ActionItemID  uuid.UUID
	TalkSessionID uuid.UUID
	Sequence      int32
	Content       string
	Status        string
	CreatedAt     time.Time
	UpdatedAt     time.Time
}

type AddGeneratedImagesParams

type AddGeneratedImagesParams struct {
	TalkSessionID uuid.UUID
	WordmapUrl    string
	TsncUrl       string
}

type CountOpinionsParams

type CountOpinionsParams struct {
	UserID          uuid.NullUUID
	TalkSessionID   uuid.NullUUID
	ParentOpinionID uuid.NullUUID
}

type CountTalkSessionsParams

type CountTalkSessionsParams struct {
	Status sql.NullString
	UserID uuid.NullUUID
	Theme  sql.NullString
}

type CountTalkSessionsRow

type CountTalkSessionsRow struct {
	TalkSessionCount int64
	Status           string
}

type CreateActionItemParams

type CreateActionItemParams struct {
	ActionItemID  uuid.UUID
	TalkSessionID uuid.UUID
	Sequence      int32
	Content       string
	Status        string
	CreatedAt     time.Time
	UpdatedAt     time.Time
}

type CreateOpinionParams

type CreateOpinionParams struct {
	OpinionID       uuid.UUID
	TalkSessionID   uuid.UUID
	UserID          uuid.UUID
	ParentOpinionID uuid.NullUUID
	Title           sql.NullString
	Content         string
	ReferenceUrl    sql.NullString
	PictureUrl      sql.NullString
	CreatedAt       time.Time
}

type CreateSessionParams

type CreateSessionParams struct {
	SessionID      uuid.UUID
	UserID         uuid.UUID
	Provider       string
	SessionStatus  int32
	CreatedAt      time.Time
	ExpiresAt      time.Time
	LastActivityAt time.Time
}

type CreateTalkSessionConclusionParams

type CreateTalkSessionConclusionParams struct {
	TalkSessionID uuid.UUID
	Content       string
	CreatedBy     uuid.UUID
}

type CreateTalkSessionLocationParams

type CreateTalkSessionLocationParams struct {
	TalkSessionID       uuid.UUID
	StGeographyfromtext interface{}
}

type CreateTalkSessionParams

type CreateTalkSessionParams struct {
	TalkSessionID    uuid.UUID
	Theme            string
	Description      sql.NullString
	OwnerID          uuid.UUID
	ScheduledEndTime time.Time
	CreatedAt        time.Time
	City             sql.NullString
	Prefecture       sql.NullString
}

type CreateUserAuthParams

type CreateUserAuthParams struct {
	UserAuthID uuid.UUID
	UserID     uuid.UUID
	Provider   string
	Subject    string
	CreatedAt  time.Time
}

type CreateUserParams

type CreateUserParams struct {
	UserID    uuid.UUID
	CreatedAt time.Time
}

type CreateVoteParams

type CreateVoteParams struct {
	VoteID        uuid.UUID
	OpinionID     uuid.UUID
	TalkSessionID uuid.UUID
	UserID        uuid.UUID
	VoteType      int16
	CreatedAt     time.Time
}

type DBTX

type DBTX interface {
	ExecContext(context.Context, string, ...interface{}) (sql.Result, error)
	PrepareContext(context.Context, string) (*sql.Stmt, error)
	QueryContext(context.Context, string, ...interface{}) (*sql.Rows, error)
	QueryRowContext(context.Context, string, ...interface{}) *sql.Row
}

type EditTalkSessionParams

type EditTalkSessionParams struct {
	TalkSessionID    uuid.UUID
	Theme            string
	Description      sql.NullString
	ScheduledEndTime time.Time
}

type FindVoteByUserIDAndOpinionIDParams

type FindVoteByUserIDAndOpinionIDParams struct {
	UserID    uuid.UUID
	OpinionID uuid.UUID
}

type GetActionItemByIDRow

type GetActionItemByIDRow struct {
	ActionItemID  uuid.UUID
	TalkSessionID uuid.UUID
	Sequence      int32
	Content       string
	Status        string
	CreatedAt     time.Time
	UpdatedAt     time.Time
	DisplayName   sql.NullString
	DisplayID     sql.NullString
	IconUrl       sql.NullString
}

type GetActionItemsByTalkSessionIDRow

type GetActionItemsByTalkSessionIDRow struct {
	ActionItemID  uuid.UUID
	TalkSessionID uuid.UUID
	Sequence      int32
	Content       string
	Status        string
	CreatedAt     time.Time
	UpdatedAt     time.Time
	DisplayName   sql.NullString
	Display       sql.NullString
	IconUrl       sql.NullString
}

type GetGroupInfoByTalkSessionIdRow

type GetGroupInfoByTalkSessionIdRow struct {
	PosX           float64
	PosY           float64
	GroupID        int32
	PerimeterIndex sql.NullInt32
	DisplayID      sql.NullString
	DisplayName    sql.NullString
	IconUrl        sql.NullString
	UserID         uuid.UUID
}

type GetOpinionByIDParams

type GetOpinionByIDParams struct {
	OpinionID uuid.UUID
	UserID    uuid.NullUUID
}

type GetOpinionByIDRow

type GetOpinionByIDRow struct {
	OpinionID       uuid.UUID
	TalkSessionID   uuid.UUID
	UserID          uuid.UUID
	ParentOpinionID uuid.NullUUID
	Title           sql.NullString
	Content         string
	ReferenceUrl    sql.NullString
	PictureUrl      sql.NullString
	CreatedAt       time.Time
	DisplayName     sql.NullString
	DisplayID       sql.NullString
	IconUrl         sql.NullString
	VoteType        int16
	CurrentVoteType int16
}

type GetOpinionRepliesParams

type GetOpinionRepliesParams struct {
	OpinionID uuid.UUID
	UserID    uuid.NullUUID
}

type GetOpinionRepliesRow

type GetOpinionRepliesRow struct {
	OpinionID       uuid.UUID
	TalkSessionID   uuid.UUID
	UserID          uuid.UUID
	ParentOpinionID uuid.NullUUID
	Title           sql.NullString
	Content         string
	ReferenceUrl    sql.NullString
	PictureUrl      sql.NullString
	CreatedAt       time.Time
	DisplayName     sql.NullString
	DisplayID       sql.NullString
	IconUrl         sql.NullString
	VoteType        int16
	CurrentVoteType int16
}

type GetOpinionsByTalkSessionIDParams

type GetOpinionsByTalkSessionIDParams struct {
	TalkSessionID uuid.UUID
	Limit         int32
	Offset        int32
	UserID        uuid.NullUUID
	SortKey       sql.NullString
}

type GetOpinionsByTalkSessionIDRow

type GetOpinionsByTalkSessionIDRow struct {
	OpinionID       uuid.UUID
	TalkSessionID   uuid.UUID
	UserID          uuid.UUID
	ParentOpinionID uuid.NullUUID
	Title           sql.NullString
	Content         string
	ReferenceUrl    sql.NullString
	PictureUrl      sql.NullString
	CreatedAt       time.Time
	DisplayName     sql.NullString
	DisplayID       sql.NullString
	IconUrl         sql.NullString
	VoteType        int16
	ReplyCount      int64
	CurrentVoteType int16
}

type GetOpinionsByUserIDParams

type GetOpinionsByUserIDParams struct {
	UserID  uuid.UUID
	Limit   int32
	Offset  int32
	SortKey sql.NullString
}

type GetOpinionsByUserIDRow

type GetOpinionsByUserIDRow struct {
	OpinionID       uuid.UUID
	TalkSessionID   uuid.UUID
	UserID          uuid.UUID
	ParentOpinionID uuid.NullUUID
	Title           sql.NullString
	Content         string
	ReferenceUrl    sql.NullString
	PictureUrl      sql.NullString
	CreatedAt       time.Time
	DisplayName     sql.NullString
	DisplayID       sql.NullString
	IconUrl         sql.NullString
	VoteType        int16
	ReplyCount      int64
}

type GetOwnTalkSessionByUserIDParams

type GetOwnTalkSessionByUserIDParams struct {
	Limit  int32
	Offset int32
	UserID uuid.NullUUID
	Status sql.NullString
	Theme  sql.NullString
}

type GetOwnTalkSessionByUserIDRow

type GetOwnTalkSessionByUserIDRow struct {
	TalkSessionID    uuid.UUID
	Theme            string
	Description      sql.NullString
	ScheduledEndTime time.Time
	City             sql.NullString
	Prefecture       sql.NullString
	CreatedAt        time.Time
	OpinionCount     int64
	DisplayName      sql.NullString
	DisplayID        sql.NullString
	IconUrl          sql.NullString
	LocationID       uuid.NullUUID
	Latitude         float64
	Longitude        float64
}

type GetParentOpinionsParams

type GetParentOpinionsParams struct {
	OpinionID uuid.UUID
	UserID    uuid.NullUUID
}

type GetParentOpinionsRow

type GetParentOpinionsRow struct {
	OpinionID       uuid.UUID
	TalkSessionID   uuid.UUID
	UserID          uuid.UUID
	ParentOpinionID uuid.NullUUID
	Title           sql.NullString
	Content         string
	ReferenceUrl    sql.NullString
	PictureUrl      sql.NullString
	CreatedAt       time.Time
	DisplayName     sql.NullString
	DisplayID       sql.NullString
	IconUrl         sql.NullString
	VoteType        int16
	ReplyCount      int64
	CurrentVoteType int16
	Level           int32
}

type GetRandomOpinionsParams

type GetRandomOpinionsParams struct {
	UserID        uuid.UUID
	TalkSessionID uuid.UUID
	Limit         int32
	SortKey       sql.NullString
}

type GetRandomOpinionsRow

type GetRandomOpinionsRow struct {
	OpinionID       uuid.UUID
	TalkSessionID   uuid.UUID
	UserID          uuid.UUID
	ParentOpinionID uuid.NullUUID
	Title           sql.NullString
	Content         string
	ReferenceUrl    sql.NullString
	PictureUrl      sql.NullString
	CreatedAt       time.Time
	DisplayName     sql.NullString
	DisplayID       sql.NullString
	IconUrl         sql.NullString
	ReplyCount      int64
}

type GetRepresentativeOpinionsByTalkSessionIdRow

type GetRepresentativeOpinionsByTalkSessionIdRow struct {
	GroupID         int32
	Rank            int32
	AgreeCount      int32
	DisagreeCount   int32
	PassCount       int32
	OpinionID       uuid.NullUUID
	TalkSessionID   uuid.NullUUID
	ParentOpinionID uuid.NullUUID
	Title           sql.NullString
	Content         sql.NullString
	ReferenceUrl    sql.NullString
	PictureUrl      sql.NullString
	CreatedAt       sql.NullTime
	DisplayName     sql.NullString
	DisplayID       sql.NullString
	IconUrl         sql.NullString
	ReplyCount      int64
}

type GetRespondTalkSessionByUserIDParams

type GetRespondTalkSessionByUserIDParams struct {
	Limit  int32
	Offset int32
	UserID uuid.NullUUID
	Status sql.NullString
	Theme  sql.NullString
}

type GetRespondTalkSessionByUserIDRow

type GetRespondTalkSessionByUserIDRow struct {
	TalkSessionID    uuid.UUID
	Theme            string
	Description      sql.NullString
	ScheduledEndTime time.Time
	City             sql.NullString
	Prefecture       sql.NullString
	CreatedAt        time.Time
	OpinionCount     int64
	DisplayName      sql.NullString
	DisplayID        sql.NullString
	IconUrl          sql.NullString
	LocationID       uuid.NullUUID
	Latitude         float64
	Longitude        float64
}

type GetTalkSessionByIDRow

type GetTalkSessionByIDRow struct {
	TalkSessionID    uuid.UUID
	Theme            string
	Description      sql.NullString
	CreatedAt        time.Time
	ScheduledEndTime time.Time
	City             sql.NullString
	Prefecture       sql.NullString
	OpinionCount     int64
	UserID           uuid.NullUUID
	DisplayName      sql.NullString
	DisplayID        sql.NullString
	IconUrl          sql.NullString
	LocationID       uuid.NullUUID
	Latitude         float64
	Longitude        float64
}

type GetTalkSessionConclusionByIDRow

type GetTalkSessionConclusionByIDRow struct {
	TalkSessionID uuid.UUID
	Content       string
	CreatedBy     uuid.UUID
	CreatedAt     time.Time
	UpdatedAt     time.Time
	UserID        uuid.NullUUID
	DisplayName   sql.NullString
	DisplayID     sql.NullString
	IconUrl       sql.NullString
}

type GetUserBySubjectRow

type GetUserBySubjectRow struct {
	UserID      uuid.UUID
	DisplayID   sql.NullString
	DisplayName sql.NullString
	Provider    string
	Subject     string
	CreatedAt   time.Time
	IconUrl     sql.NullString
	IsVerified  bool
}

type ListTalkSessionsParams

type ListTalkSessionsParams struct {
	Limit     int32
	Offset    int32
	Latitude  sql.NullFloat64
	Longitude sql.NullFloat64
	Status    sql.NullString
	Theme     sql.NullString
	SortKey   sql.NullString
}

type ListTalkSessionsRow

type ListTalkSessionsRow struct {
	TalkSessionID    uuid.UUID
	Theme            string
	Description      sql.NullString
	ScheduledEndTime time.Time
	City             sql.NullString
	Prefecture       sql.NullString
	CreatedAt        time.Time
	OpinionCount     int64
	DisplayName      sql.NullString
	DisplayID        sql.NullString
	IconUrl          sql.NullString
	LocationID       uuid.NullUUID
	Latitude         float64
	Longitude        float64
	Distance         interface{}
}

type Opinion

type Opinion struct {
	OpinionID       uuid.UUID
	TalkSessionID   uuid.UUID
	UserID          uuid.UUID
	ParentOpinionID uuid.NullUUID
	Title           sql.NullString
	Content         string
	CreatedAt       time.Time
	PictureUrl      sql.NullString
	ReferenceUrl    sql.NullString
}

type Queries

type Queries struct {
	// contains filtered or unexported fields
}

func New

func New(db DBTX) *Queries

func (*Queries) AddGeneratedImages

func (q *Queries) AddGeneratedImages(ctx context.Context, arg AddGeneratedImagesParams) error

func (*Queries) CountOpinions

func (q *Queries) CountOpinions(ctx context.Context, arg CountOpinionsParams) (int64, error)

func (*Queries) CountTalkSessions

func (q *Queries) CountTalkSessions(ctx context.Context, arg CountTalkSessionsParams) (CountTalkSessionsRow, error)

talk_session_locationsがない場合も考慮

func (*Queries) CreateActionItem

func (q *Queries) CreateActionItem(ctx context.Context, arg CreateActionItemParams) error

func (*Queries) CreateOpinion

func (q *Queries) CreateOpinion(ctx context.Context, arg CreateOpinionParams) error

func (*Queries) CreateSession

func (q *Queries) CreateSession(ctx context.Context, arg CreateSessionParams) error

func (*Queries) CreateTalkSession

func (q *Queries) CreateTalkSession(ctx context.Context, arg CreateTalkSessionParams) error

func (*Queries) CreateTalkSessionConclusion

func (q *Queries) CreateTalkSessionConclusion(ctx context.Context, arg CreateTalkSessionConclusionParams) error

func (*Queries) CreateTalkSessionLocation

func (q *Queries) CreateTalkSessionLocation(ctx context.Context, arg CreateTalkSessionLocationParams) error

func (*Queries) CreateUser

func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) error

func (*Queries) CreateUserAuth

func (q *Queries) CreateUserAuth(ctx context.Context, arg CreateUserAuthParams) error

func (*Queries) CreateVote

func (q *Queries) CreateVote(ctx context.Context, arg CreateVoteParams) error

func (*Queries) EditTalkSession

func (q *Queries) EditTalkSession(ctx context.Context, arg EditTalkSessionParams) error

func (*Queries) FindActiveSessionsByUserID

func (q *Queries) FindActiveSessionsByUserID(ctx context.Context, userID uuid.UUID) ([]Session, error)

func (*Queries) FindSessionBySessionID

func (q *Queries) FindSessionBySessionID(ctx context.Context, sessionID uuid.UUID) (Session, error)

func (*Queries) FindVoteByUserIDAndOpinionID

func (q *Queries) FindVoteByUserIDAndOpinionID(ctx context.Context, arg FindVoteByUserIDAndOpinionIDParams) (Vote, error)

func (*Queries) GetActionItemByID

func (q *Queries) GetActionItemByID(ctx context.Context, actionItemID uuid.UUID) (GetActionItemByIDRow, error)

func (*Queries) GetActionItemsByTalkSessionID

func (q *Queries) GetActionItemsByTalkSessionID(ctx context.Context, talkSessionID uuid.UUID) ([]GetActionItemsByTalkSessionIDRow, error)

func (*Queries) GetGeneratedImages

func (q *Queries) GetGeneratedImages(ctx context.Context, dollar_1 uuid.UUID) (TalkSessionGeneratedImage, error)

func (*Queries) GetGroupInfoByTalkSessionId

func (q *Queries) GetGroupInfoByTalkSessionId(ctx context.Context, talkSessionID uuid.UUID) ([]GetGroupInfoByTalkSessionIdRow, error)

func (*Queries) GetGroupListByTalkSessionId

func (q *Queries) GetGroupListByTalkSessionId(ctx context.Context, talkSessionID uuid.UUID) ([]int32, error)

func (*Queries) GetOpinionByID

func (q *Queries) GetOpinionByID(ctx context.Context, arg GetOpinionByIDParams) (GetOpinionByIDRow, error)

親意見に対するユーザーの投票を取得 ユーザーIDが提供された場合、そのユーザーの投票ステータスを一緒に取得

func (*Queries) GetOpinionReplies

func (q *Queries) GetOpinionReplies(ctx context.Context, arg GetOpinionRepliesParams) ([]GetOpinionRepliesRow, error)

親意見に対する子意見主の投票を取得 ユーザーIDが提供された場合、そのユーザーの投票ステータスを取得

func (*Queries) GetOpinionsByTalkSessionID

func (q *Queries) GetOpinionsByTalkSessionID(ctx context.Context, arg GetOpinionsByTalkSessionIDParams) ([]GetOpinionsByTalkSessionIDRow, error)

func (*Queries) GetOpinionsByUserID

func (q *Queries) GetOpinionsByUserID(ctx context.Context, arg GetOpinionsByUserIDParams) ([]GetOpinionsByUserIDRow, error)

latest, mostReply, oldestでソート

func (*Queries) GetOwnTalkSessionByUserID

func (q *Queries) GetOwnTalkSessionByUserID(ctx context.Context, arg GetOwnTalkSessionByUserIDParams) ([]GetOwnTalkSessionByUserIDRow, error)

func (*Queries) GetParentOpinions

func (q *Queries) GetParentOpinions(ctx context.Context, arg GetParentOpinionsParams) ([]GetParentOpinionsRow, error)

func (*Queries) GetRandomOpinions

func (q *Queries) GetRandomOpinions(ctx context.Context, arg GetRandomOpinionsParams) ([]GetRandomOpinionsRow, error)

指定されたユーザーが投票していない意見のみを取得 この意見に対するリプライ数 グループ内のランクを取得 トークセッションに紐づく意見のみを取得

func (*Queries) GetReportByTalkSessionId

func (q *Queries) GetReportByTalkSessionId(ctx context.Context, talkSessionID uuid.UUID) (TalkSessionReport, error)

func (*Queries) GetRepresentativeOpinionsByTalkSessionId

func (q *Queries) GetRepresentativeOpinionsByTalkSessionId(ctx context.Context, talkSessionID uuid.UUID) ([]GetRepresentativeOpinionsByTalkSessionIdRow, error)

func (*Queries) GetTalkSessionByID

func (q *Queries) GetTalkSessionByID(ctx context.Context, talkSessionID uuid.UUID) (GetTalkSessionByIDRow, error)

func (*Queries) GetTalkSessionConclusionByID

func (q *Queries) GetTalkSessionConclusionByID(ctx context.Context, talkSessionID uuid.UUID) (GetTalkSessionConclusionByIDRow, error)

func (*Queries) GetUserAuthByUserID

func (q *Queries) GetUserAuthByUserID(ctx context.Context, userID uuid.UUID) (UserAuth, error)

func (*Queries) GetUserByID

func (q *Queries) GetUserByID(ctx context.Context, userID uuid.UUID) (User, error)

func (*Queries) GetUserBySubject

func (q *Queries) GetUserBySubject(ctx context.Context, subject string) (GetUserBySubjectRow, error)

func (*Queries) GetUserDemographicsByUserID

func (q *Queries) GetUserDemographicsByUserID(ctx context.Context, userID uuid.UUID) (UserDemographic, error)

func (*Queries) ListTalkSessions

func (q *Queries) ListTalkSessions(ctx context.Context, arg ListTalkSessionsParams) ([]ListTalkSessionsRow, error)

func (*Queries) UpdateActionItem

func (q *Queries) UpdateActionItem(ctx context.Context, arg UpdateActionItemParams) error

func (*Queries) UpdateOrCreateUserDemographics

func (q *Queries) UpdateOrCreateUserDemographics(ctx context.Context, arg UpdateOrCreateUserDemographicsParams) error

func (*Queries) UpdateSequencesByActionItemID

func (q *Queries) UpdateSequencesByActionItemID(ctx context.Context, arg UpdateSequencesByActionItemIDParams) error

指定したActionItemいよりSequenceが大きいものをすべて+1する

func (*Queries) UpdateSession

func (q *Queries) UpdateSession(ctx context.Context, arg UpdateSessionParams) error

func (*Queries) UpdateTalkSessionConclusion

func (q *Queries) UpdateTalkSessionConclusion(ctx context.Context, arg UpdateTalkSessionConclusionParams) error

func (*Queries) UpdateTalkSessionLocation

func (q *Queries) UpdateTalkSessionLocation(ctx context.Context, arg UpdateTalkSessionLocationParams) error

func (*Queries) UpdateUser

func (q *Queries) UpdateUser(ctx context.Context, arg UpdateUserParams) error

func (*Queries) UserFindByDisplayID

func (q *Queries) UserFindByDisplayID(ctx context.Context, displayID sql.NullString) (User, error)

func (*Queries) VerifyUser

func (q *Queries) VerifyUser(ctx context.Context, userID uuid.UUID) error

func (*Queries) WithTx

func (q *Queries) WithTx(tx *sql.Tx) *Queries

type RepresentativeOpinion

type RepresentativeOpinion struct {
	TalkSessionID uuid.UUID
	OpinionID     uuid.UUID
	GroupID       int32
	Rank          int32
	UpdatedAt     time.Time
	CreatedAt     time.Time
	AgreeCount    int32
	DisagreeCount int32
	PassCount     int32
}

type Session

type Session struct {
	SessionID      uuid.UUID
	UserID         uuid.UUID
	Provider       string
	SessionStatus  int32
	ExpiresAt      time.Time
	CreatedAt      time.Time
	LastActivityAt time.Time
}

type TalkSession

type TalkSession struct {
	TalkSessionID    uuid.UUID
	OwnerID          uuid.UUID
	Theme            string
	ScheduledEndTime time.Time
	CreatedAt        time.Time
	City             sql.NullString
	Prefecture       sql.NullString
	Description      sql.NullString
}

type TalkSessionConclusion

type TalkSessionConclusion struct {
	TalkSessionID uuid.UUID
	Content       string
	CreatedBy     uuid.UUID
	CreatedAt     time.Time
	UpdatedAt     time.Time
}

type TalkSessionGeneratedImage

type TalkSessionGeneratedImage struct {
	TalkSessionID uuid.UUID
	WordmapUrl    string
	TsncUrl       string
	CreatedAt     time.Time
	UpdatedAt     time.Time
}

type TalkSessionLocation

type TalkSessionLocation struct {
	TalkSessionID uuid.UUID
	Location      interface{}
}

type TalkSessionReport

type TalkSessionReport struct {
	TalkSessionID uuid.UUID
	Report        string
	CreatedAt     time.Time
	UpdatedAt     time.Time
}

type UpdateActionItemParams

type UpdateActionItemParams struct {
	ActionItemID uuid.UUID
	Content      string
	Status       string
	Sequence     int32
}

type UpdateOrCreateUserDemographicsParams

type UpdateOrCreateUserDemographicsParams struct {
	UserDemographicsID uuid.UUID
	UserID             uuid.UUID
	YearOfBirth        sql.NullInt32
	Occupation         sql.NullInt16
	Gender             int16
	City               sql.NullString
	HouseholdSize      sql.NullInt16
	Prefecture         sql.NullString
}

type UpdateSequencesByActionItemIDParams

type UpdateSequencesByActionItemIDParams struct {
	TalkSessionID uuid.UUID
	Sequence      int32
}

type UpdateSessionParams

type UpdateSessionParams struct {
	SessionID      uuid.UUID
	SessionStatus  int32
	LastActivityAt time.Time
}

type UpdateTalkSessionConclusionParams

type UpdateTalkSessionConclusionParams struct {
	TalkSessionID uuid.UUID
	Content       string
}

type UpdateTalkSessionLocationParams

type UpdateTalkSessionLocationParams struct {
	TalkSessionID       uuid.UUID
	StGeographyfromtext interface{}
}

type UpdateUserParams

type UpdateUserParams struct {
	UserID      uuid.UUID
	DisplayID   sql.NullString
	DisplayName sql.NullString
	IconUrl     sql.NullString
}

type User

type User struct {
	UserID      uuid.UUID
	DisplayID   sql.NullString
	DisplayName sql.NullString
	IconUrl     sql.NullString
	CreatedAt   time.Time
	UpdatedAt   time.Time
}

type UserAuth

type UserAuth struct {
	UserAuthID uuid.UUID
	UserID     uuid.UUID
	Provider   string
	Subject    string
	IsVerified bool
	CreatedAt  time.Time
}

type UserDemographic

type UserDemographic struct {
	UserDemographicsID uuid.UUID
	UserID             uuid.UUID
	YearOfBirth        sql.NullInt32
	Occupation         sql.NullInt16
	Gender             int16
	City               sql.NullString
	HouseholdSize      sql.NullInt16
	CreatedAt          time.Time
	UpdatedAt          time.Time
	Prefecture         sql.NullString
}

type UserGroupInfo

type UserGroupInfo struct {
	TalkSessionID  uuid.UUID
	UserID         uuid.UUID
	GroupID        int32
	PosX           float64
	PosY           float64
	UpdatedAt      time.Time
	CreatedAt      time.Time
	PerimeterIndex sql.NullInt32
}

type Vote

type Vote struct {
	VoteID        uuid.UUID
	OpinionID     uuid.UUID
	UserID        uuid.UUID
	VoteType      int16
	CreatedAt     time.Time
	TalkSessionID uuid.UUID
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL