2019-05-07 06:42:51 +05:30
|
|
|
// 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 20:55:33 +05:30
|
|
|
package migration
|
2019-05-07 06:42:51 +05:30
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
// Milestone defines a standard milestone
|
|
|
|
type Milestone struct {
|
2022-01-26 15:15:51 +05:30
|
|
|
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 06:42:51 +05:30
|
|
|
}
|