github.com/wgh-/mattermost-server@v4.8.0-rc2+incompatible/model/channel_member_history_result.go (about)

     1  // Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
     2  // See License.txt for license information.
     3  
     4  package model
     5  
     6  type ChannelMemberHistoryResult struct {
     7  	ChannelId string
     8  	UserId    string
     9  	JoinTime  int64
    10  	LeaveTime *int64
    11  
    12  	// these two fields are never set in the database - when we SELECT, we join on Users to get them
    13  	UserEmail string `db:"Email"`
    14  	Username  string
    15  }