2019-05-07 03:12:51 +02: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 16:25:33 +01:00
|
|
|
package migration
|
2019-05-07 03:12:51 +02:00
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
// Milestone defines a standard milestone
|
|
|
|
type Milestone struct {
|
2022-01-26 10:45:51 +01: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 03:12:51 +02:00
|
|
|
}
|