2020-01-15 19:14:07 +08:00
|
|
|
// Copyright 2020 The Gitea Authors. All rights reserved.
|
2019-05-07 09:12:51 +08:00
|
|
|
// Use of this source code is governed by a MIT-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2021-11-16 23:25:33 +08:00
|
|
|
package migration
|
2019-05-07 09:12:51 +08:00
|
|
|
|
2020-01-15 19:14:07 +08:00
|
|
|
// Reaction represents a reaction to an issue/pr/comment.
|
|
|
|
type Reaction struct {
|
2022-01-26 17:45:51 +08:00
|
|
|
UserID int64 `yaml:"user_id" json:"user_id"`
|
|
|
|
UserName string `yaml:"user_name" json:"user_name"`
|
|
|
|
Content string `json:"content"`
|
2019-05-07 09:12:51 +08:00
|
|
|
}
|