2019-05-07 01:12:51 +00: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 15:25:33 +00:00
|
|
|
package migration
|
2019-05-07 01:12:51 +00:00
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
// Milestone defines a standard milestone
|
|
|
|
type Milestone struct {
|
2022-01-26 09:45:51 +00:00
|
|
|
Title string `json:"title"`
|
|
|
|
Description string `json:"description"`
|
|
|
|
Deadline *time.Time `json:"deadline"`
|
|
|
|
Created time.Time `json:"created"`
|
|
|
|
Updated *time.Time `json:"updated"`
|
|
|
|
Closed *time.Time `json:"closed"`
|
|
|
|
State string `json:"state"` // open, closed
|
2019-05-07 01:12:51 +00:00
|
|
|
}
|