// Copyright © 2023 OpenIM. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package model import ( "time" ) const ( MeetingCheckInTableName = "meeting_checkins" ) // MeetingCheckIn 会议签到表 type MeetingCheckIn struct { CheckInID string `bson:"check_in_id"` // 签到ID(唯一) MeetingID string `bson:"meeting_id"` // 会议ID UserID string `bson:"user_id"` // 用户ID CheckInTime time.Time `bson:"check_in_time"` // 签到时间 CreateTime time.Time `bson:"create_time"` // 创建时间 Ex string `bson:"ex"` // 扩展字段 } func (*MeetingCheckIn) TableName() string { return MeetingCheckInTableName }