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.
|
|
|
|
|
|
|
|
package base
|
|
|
|
|
2020-01-15 19:14:07 +08:00
|
|
|
// Reaction represents a reaction to an issue/pr/comment.
|
|
|
|
type Reaction struct {
|
2020-12-27 11:34:19 +08:00
|
|
|
UserID int64 `yaml:"user_id"`
|
|
|
|
UserName string `yaml:"user_name"`
|
2020-01-15 19:14:07 +08:00
|
|
|
Content string
|
2019-05-07 09:12:51 +08:00
|
|
|
}
|