mirror of
https://github.com/go-gitea/gitea
synced 2025-07-14 22:47:21 +00:00
api: implement logic for all project/user related endpoints
This commit is contained in:
18
modules/structs/project_column.go
Normal file
18
modules/structs/project_column.go
Normal file
@ -0,0 +1,18 @@
|
||||
// Copyright 2015 The Gogs Authors. All rights reserved.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
package structs
|
||||
|
||||
// Column represents a project column
|
||||
type Column struct {
|
||||
ID int64 `json:"id"`
|
||||
Title string `json:"title"`
|
||||
Color string `json:"color"`
|
||||
}
|
||||
|
||||
// EditProjectColumnOption options for editing a project column
|
||||
type EditProjectColumnOption struct {
|
||||
Title string `binding:"Required;MaxSize(100)"`
|
||||
Sorting int8
|
||||
Color string `binding:"MaxSize(7)"`
|
||||
}
|
Reference in New Issue
Block a user