视频连线
This commit is contained in:
@@ -13,7 +13,7 @@ type MeetingRoom struct {
|
||||
HostID int64 `json:"host_id" gorm:"not null;index:idx_meeting_rooms_host_status,priority:1"` // 主持人用户 ID
|
||||
Type int `json:"type" gorm:"not null;default:1"` // 会议类型:1=即时,2=预约
|
||||
PasswordHash *string `json:"-" gorm:"size:255"` // 入会密码 bcrypt 哈希,NULL 表示无密码;JSON 始终剥离
|
||||
MaxMembers int `json:"max_members" gorm:"not null;default:50"` // 房间最大成员数,MVP 应用层强制 8
|
||||
MaxMembers int `json:"max_members" gorm:"not null;default:50"` // 房间最大成员数
|
||||
Status int `json:"status" gorm:"not null;default:0;index:idx_meeting_rooms_host_status,priority:2"` // 状态:0=未开始,1=进行中,2=已结束
|
||||
ScheduledAt *time.Time `json:"scheduled_at" gorm:"type:timestamp(0)"` // 预约开始时间,即时会议为 NULL
|
||||
StartedAt *time.Time `json:"started_at" gorm:"type:timestamp(0)"` // 实际开始时间
|
||||
|
||||
Reference in New Issue
Block a user