2019-05-06 18:12:51 -07:00
|
|
|
// Copyright 2019 The Gitea Authors. All rights reserved.
|
|
|
|
// Copyright 2018 Jonas Franz. All rights reserved.
|
2022-11-27 11:20:29 -07:00
|
|
|
// SPDX-License-Identifier: MIT
|
2019-05-06 18:12:51 -07:00
|
|
|
|
2021-11-16 08:25:33 -07:00
|
|
|
package migration
|
2019-05-06 18:12:51 -07:00
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
// Milestone defines a standard milestone
|
|
|
|
type Milestone struct {
|
2022-01-26 02:45:51 -07: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-06 18:12:51 -07:00
|
|
|
}
|