1
0

implemented creation of thing via parambinder

This commit is contained in:
konrad
2018-07-18 08:56:19 +02:00
committed by kolaente
parent ebb5b332b6
commit de95ff40bf
21 changed files with 39 additions and 40 deletions

View File

@ -4,7 +4,7 @@ package models
type TeamNamespace struct {
ID int64 `xorm:"int(11) autoincr not null unique pk" json:"id"`
TeamID int64 `xorm:"int(11) not null" json:"team_id" param:"teamid"`
NamespaceID int64 `xorm:"int(11) not null" json:"namespace_id" param:"nid"`
NamespaceID int64 `xorm:"int(11) not null" json:"namespace_id" param:"namespaceid"`
Right NamespaceRight `xorm:"int(11)" json:"right"`
Created int64 `xorm:"created" json:"created"`