dbmodels

package
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analytics

type Analytics struct {
	ID               uint64  `gorm:"column:id;primaryKey;autoIncrement"`
	RoomTableID      uint64  `gorm:"column:room_table_id;unique"`
	RoomID           string  `gorm:"column:room_id;NOT NULL"`
	FileID           string  `gorm:"column:file_id;NOT NULL"`
	FileName         string  `gorm:"column:file_name;NOT NULL"`
	FileSize         float64 `gorm:"column:file_size;NOT NULL"`
	RoomCreationTime int64   `gorm:"column:room_creation_time;NOT NULL"`
	CreationTime     int64   `gorm:"column:creation_time;autoCreateTime;NOT NULL"`
}

func (*Analytics) TableName

func (m *Analytics) TableName() string

type Recording

type Recording struct {
	ID               uint64         `gorm:"column:id;primaryKey;autoIncrement"`
	RecordID         string         `gorm:"column:record_id;unique;NOT NULL"`
	RoomID           string         `gorm:"column:room_id;NOT NULL"`
	RoomSid          sql.NullString `gorm:"column:room_sid;unique"`
	RecorderID       string         `gorm:"column:recorder_id;NOT NULL"`
	FilePath         string         `gorm:"column:file_path;NOT NULL"`
	Size             float64        `gorm:"column:size;NOT NULL"`
	Published        int64          `gorm:"column:published;default:1;NOT NULL"`
	CreationTime     int64          `gorm:"column:creation_time;autoCreateTime;NOT NULL"`
	RoomCreationTime int64          `gorm:"column:room_creation_time;default:0;NOT NULL"`
	Created          time.Time      `gorm:"column:created;autoCreateTime;NOT NULL"`
	Modified         time.Time      `gorm:"column:modified;autoUpdateTime;NOT NULL"`
}

func (*Recording) TableName

func (m *Recording) TableName() string

type RoomInfo

type RoomInfo struct {
	ID                 uint64    `gorm:"column:id;primaryKey;autoIncrement"`
	RoomTitle          string    `gorm:"column:room_title;NOT NULL"`
	RoomId             string    `gorm:"column:roomId;NOT NULL"`
	Sid                string    `gorm:"column:sid;unique;NOT NULL"`
	JoinedParticipants int64     `gorm:"column:joined_participants;default:0;NOT NULL"`
	IsRunning          int       `gorm:"column:is_running;default:0;NOT NULL"`
	IsRecording        int       `gorm:"column:is_recording;default:0;NOT NULL"`
	RecorderID         string    `gorm:"column:recorder_id;NOT NULL"`
	IsActiveRtmp       int       `gorm:"column:is_active_rtmp;default:0;NOT NULL"`
	RtmpNodeID         string    `gorm:"column:rtmp_node_id;NOT NULL"`
	WebhookUrl         string    `gorm:"column:webhook_url;NOT NULL"`
	IsBreakoutRoom     int       `gorm:"column:is_breakout_room;default:0;NOT NULL"`
	ParentRoomID       string    `gorm:"column:parent_room_id;NOT NULL"`
	CreationTime       int64     `gorm:"column:creation_time;autoCreateTime;NOT NULL"`
	Created            time.Time `gorm:"column:created;autoCreateTime;NOT NULL"`
	Ended              time.Time `gorm:"column:ended;default:0000-00-00 00:00:00;NOT NULL"`
	Modified           time.Time `gorm:"column:modified;autoUpdateTime;NOT NULL"`
}

func (*RoomInfo) TableName

func (m *RoomInfo) TableName() string

Jump to

Keyboard shortcuts

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