2019-05-07 01:12:51 +00:00
|
|
|
// Copyright 2019 The Gitea Authors. All rights reserved.
|
|
|
|
// Copyright 2018 Jonas Franz. All rights reserved.
|
2022-11-27 18:20:29 +00:00
|
|
|
// SPDX-License-Identifier: MIT
|
2019-05-07 01:12:51 +00:00
|
|
|
|
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
|
|
|
}
|