summaryrefslogtreecommitdiffstats
path: root/modules/migrations/base/issue.go
blob: ddadd0c2b3d7b2b4daea52ab10e5f1951860caa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2019 The Gitea Authors. All rights reserved.
// Copyright 2018 Jonas Franz. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.

package base

import "time"

// Issue is a standard issue information
type Issue struct {
	Number      int64
	PosterName  string
	PosterEmail string
	Title       string
	Content     string
	Milestone   string
	State       string // closed, open
	IsLocked    bool
	Created     time.Time
	Closed      *time.Time
	Labels      []*Label
	Reactions   *Reactions
}