2019-05-07 09:12:51 +08:00
|
|
|
// 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.
|
|
|
|
|
2021-11-16 23:25:33 +08:00
|
|
|
package migration
|
2019-05-07 09:12:51 +08:00
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
// Milestone defines a standard milestone
|
|
|
|
type Milestone struct {
|
|
|
|
Title string
|
|
|
|
Description string
|
|
|
|
Deadline *time.Time
|
|
|
|
Created time.Time
|
|
|
|
Updated *time.Time
|
|
|
|
Closed *time.Time
|
2021-01-22 03:33:58 +08:00
|
|
|
State string // open, closed
|
2019-05-07 09:12:51 +08:00
|
|
|
}
|