Documentation ¶
Index ¶
- type BaseConnection
- type BasicAuth
- type Hours
- type PM
- type RestConnection
- type TestConnectionRequest
- type Whitelist
- type ZentaoAccount
- type ZentaoBug
- type ZentaoBugCommit
- type ZentaoBugRepoCommit
- type ZentaoChangelog
- type ZentaoChangelogCom
- type ZentaoChangelogDetail
- type ZentaoConnection
- type ZentaoDepartment
- type ZentaoExecution
- type ZentaoExecutionStory
- type ZentaoExecutionSummary
- type ZentaoProduct
- type ZentaoProductSummary
- type ZentaoProject
- type ZentaoProjectStory
- type ZentaoScopeConfig
- type ZentaoStory
- type ZentaoStoryCommit
- type ZentaoStoryRepoCommit
- type ZentaoTask
- type ZentaoTaskCommit
- type ZentaoTaskRepoCommit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseConnection ¶
type RestConnection ¶
type RestConnection struct { BaseConnection `mapstructure:",squash"` Endpoint string `mapstructure:"endpoint" validate:"required" json:"endpoint"` Proxy string `mapstructure:"proxy" json:"proxy"` RateLimitPerHour int `comment:"api request rate limt per hour" json:"rateLimit"` }
type TestConnectionRequest ¶
type ZentaoAccount ¶
type ZentaoAccount struct { archived.NoPKModel ConnectionId uint64 `gorm:"primaryKey;type:BIGINT NOT NULL"` ID int64 `json:"id" gorm:"primaryKey;type:BIGINT NOT NULL;autoIncrement:false" ` Account string `json:"account" gorm:"type:varchar(100);index"` Avatar string `json:"avatar" gorm:"type:varchar(255)"` Realname string `json:"realname" gorm:"type:varchar(100);index"` Role string `json:"role" gorm:"type:varchar(100);index"` Dept int64 `json:"dept" gorm:"type:BIGINT NOT NULL;index"` }
func (ZentaoAccount) TableName ¶
func (ZentaoAccount) TableName() string
type ZentaoBug ¶
type ZentaoBug struct { archived.NoPKModel ConnectionId uint64 `gorm:"primaryKey;type:BIGINT NOT NULL"` ID int64 `json:"id" gorm:"primaryKey;type:BIGINT NOT NULL;autoIncrement:false"` Project int64 `json:"project"` Product int64 `json:"product"` Injection int `json:"injection"` Identify int `json:"identify"` Branch int `json:"branch"` Module int `json:"module"` Execution int64 `json:"execution"` Plan int `json:"plan"` Story int64 `json:"story"` StoryVersion int `json:"storyVersion"` Task int `json:"task"` ToTask int `json:"toTask"` ToStory int64 `json:"toStory"` Title string `json:"title"` Keywords string `json:"keywords"` Severity int `json:"severity"` Pri int `json:"pri"` Type string `json:"type"` Os string `json:"os"` Browser string `json:"browser"` Hardware string `json:"hardware"` Found string `json:"found"` Steps string `json:"steps"` Status string `json:"status"` SubStatus string `json:"subStatus"` Color string `json:"color"` Confirmed int `json:"confirmed"` ActivatedCount int `json:"activatedCount"` ActivatedDate *time.Time `json:"activatedDate"` FeedbackBy string `json:"feedbackBy"` NotifyEmail string `json:"notifyEmail"` OpenedById int64 OpenedByName string OpenedDate *time.Time `json:"openedDate"` OpenedBuild string `json:"openedBuild"` AssignedToId int64 AssignedToName string AssignedDate *time.Time `json:"assignedDate"` Deadline string `json:"deadline"` ResolvedById int64 Resolution string `json:"resolution"` ResolvedBuild string `json:"resolvedBuild"` ResolvedDate *time.Time `json:"resolvedDate"` ClosedById int64 ClosedDate *time.Time `json:"closedDate"` DuplicateBug int `json:"duplicateBug"` LinkBug string `json:"linkBug"` Feedback int `json:"feedback"` Result int `json:"result"` Repo int `json:"repo"` Mr int `json:"mr"` Entry string `json:"entry"` NumOfLine string `json:"lines"` V1 string `json:"v1"` V2 string `json:"v2"` RepoType string `json:"repoType"` IssueKey string `json:"issueKey"` Testtask int `json:"testtask"` LastEditedById int64 LastEditedDate *time.Time `json:"lastEditedDate"` Deleted bool `json:"deleted"` PriOrder string `json:"priOrder"` SeverityOrder int `json:"severityOrder"` Needconfirm bool `json:"needconfirm"` StatusName string `json:"statusName"` ProductStatus string `json:"productStatus"` }
type ZentaoBugCommit ¶
type ZentaoBugCommit struct { archived.NoPKModel ConnectionId uint64 `gorm:"primaryKey;type:BIGINT NOT NULL"` ID int `json:"id" gorm:"primaryKey;type:BIGINT NOT NULL;autoIncrement:false"` ObjectType string `json:"objectType"` ObjectID int `json:"objectID"` Product int64 `json:"product"` Project int64 `json:"project"` Execution int `json:"execution"` Actor string `json:"actor"` Action string `json:"action"` Date string `json:"date"` Comment string `json:"comment"` Extra string `json:"extra"` Host string `json:"host"` //the host part of extra RepoRevision string `json:"repoRevision"` // the repoRevisionJson part of extra ActionRead string `json:"actionRead"` Vision string `json:"vision"` Efforted int `json:"efforted"` ActionDesc string `json:"cctionDesc"` }
func (ZentaoBugCommit) TableName ¶
func (ZentaoBugCommit) TableName() string
type ZentaoBugRepoCommit ¶
type ZentaoBugRepoCommit struct { archived.NoPKModel ConnectionId uint64 `gorm:"primaryKey;type:BIGINT NOT NULL"` Product int64 `json:"product"` Project int64 `json:"project"` IssueId string `gorm:"primaryKey;type:varchar(255)"` // the bug id RepoUrl string `gorm:"primaryKey;type:varchar(255)"` CommitSha string `gorm:"primaryKey;type:varchar(255)"` }
func (ZentaoBugRepoCommit) TableName ¶
func (ZentaoBugRepoCommit) TableName() string
type ZentaoChangelog ¶
type ZentaoChangelog struct { archived.NoPKModel `json:"-"` ConnectionId uint64 `json:"connectionId" mapstructure:"connectionId" gorm:"primaryKey;type:BIGINT NOT NULL"` Id int64 `json:"id" mapstructure:"id" gorm:"primaryKey;type:BIGINT NOT NULL;autoIncrement:false"` ObjectId int64 `json:"objectId" mapstructure:"objectId" gorm:"index; NOT NULL"` Execution int64 `json:"execution" mapstructure:"execution" ` Actor string `json:"actor" mapstructure:"actor" ` Action string `json:"action" mapstructure:"action"` Extra string `json:"extra" mapstructure:"extra"` ObjectType string `json:"objectType" mapstructure:"objectType"` Project int64 `json:"project" mapstructure:"project"` Product int64 `json:"product" mapstructure:"product"` Vision string `json:"vision" mapstructure:"vision"` Comment string `json:"comment" mapstructure:"comment"` Efforted string `json:"efforted" mapstructure:"efforted"` Date time.Time `json:"date" mapstructure:"date"` Read string `json:"read" mapstructure:"read"` }
func (ZentaoChangelog) TableName ¶
func (ZentaoChangelog) TableName() string
type ZentaoChangelogCom ¶
type ZentaoChangelogCom struct { Changelog *ZentaoChangelog ChangelogDetail *ZentaoChangelogDetail }
type ZentaoChangelogDetail ¶
type ZentaoChangelogDetail struct { archived.NoPKModel `json:"-"` ConnectionId uint64 `json:"connectionId" mapstructure:"connectionId" gorm:"primaryKey;type:BIGINT NOT NULL"` Id int64 `json:"id" mapstructure:"id" gorm:"primaryKey;type:BIGINT NOT NULL;autoIncrement:false"` ChangelogId int64 `json:"changelogId" mapstructure:"changelogId" gorm:"primaryKey;type:BIGINT NOT NULL"` Field string `json:"field" mapstructure:"field"` Old string `json:"old" mapstructure:"old"` New string `json:"new" mapstructure:"new"` Diff string `json:"diff" mapstructure:"diff"` }
func (ZentaoChangelogDetail) TableName ¶
func (ZentaoChangelogDetail) TableName() string
type ZentaoConnection ¶
type ZentaoConnection struct { RestConnection `mapstructure:",squash"` BasicAuth `mapstructure:",squash"` }
This object conforms to what the frontend currently sends.
func (ZentaoConnection) TableName ¶
func (ZentaoConnection) TableName() string
type ZentaoDepartment ¶
type ZentaoDepartment struct { ConnectionId uint64 `gorm:"primaryKey;type:BIGINT NOT NULL"` ID int64 `json:"id" gorm:"primaryKey;type:BIGINT NOT NULL;autoIncrement:false" ` Name string `json:"name" gorm:"type:varchar(100);index"` Parent int `json:"parent" gorm:"type:BIGINT NOT NULL"` Path string `json:"path" gorm:"type:varchar(100)"` Grade int `json:"grade"` OrderIn int `json:"order"` Position string `json:"position" gorm:"type:varchar(100)"` DeptFunction string `json:"function" gorm:"type:varchar(100)"` Manager string `json:"manager" gorm:"type:varchar(100)"` ManagerName string `json:"managerName" gorm:"type:varchar(100)"` archived.NoPKModel }
func (ZentaoDepartment) TableName ¶
func (ZentaoDepartment) TableName() string
type ZentaoExecution ¶
type ZentaoExecution struct { ConnectionId uint64 `gorm:"primaryKey;type:BIGINT NOT NULL"` Id int64 `json:"id" gorm:"primaryKey;type:BIGINT NOT NULL;autoIncrement:false"` Project int64 `json:"project"` Model string `json:"model"` Type string `json:"type"` Lifetime string `json:"lifetime"` Budget string `json:"budget"` BudgetUnit string `json:"budgetUnit"` Attribute string `json:"attribute"` Percent int `json:"percent"` Milestone string `json:"milestone"` Output string `json:"output"` Auth string `json:"auth"` Parent int64 `json:"parent"` Path string `json:"path"` Grade int `json:"grade"` Name string `json:"name"` Code string `json:"code"` PlanBegin *time.Time `json:"begin"` PlanEnd *time.Time `json:"end"` RealBegan *time.Time `json:"realBegan"` RealEnd *time.Time `json:"realEnd"` Status string `json:"status"` SubStatus string `json:"subStatus"` Pri string `json:"pri"` Description string `json:"desc"` Version int `json:"version"` ParentVersion int `json:"parentVersion"` PlanDuration int `json:"planDuration"` RealDuration int `json:"realDuration"` OpenedById int64 OpenedDate *time.Time `json:"openedDate"` OpenedVersion string `json:"openedVersion"` LastEditedById int64 LastEditedDate *time.Time `json:"lastEditedDate"` ClosedById int64 ClosedDate *time.Time `json:"closedDate"` CanceledById int64 CanceledDate *time.Time `json:"canceledDate"` SuspendedDate *time.Time `json:"suspendedDate"` POId int64 PMId int64 QDId int64 RDId int64 Team string `json:"team"` Acl string `json:"acl"` OrderIn int `json:"order"` Vision string `json:"vision"` DisplayCards int `json:"displayCards"` FluidBoard string `json:"fluidBoard"` Deleted bool `json:"deleted"` TotalHours float64 `json:"totalHours"` TotalEstimate float64 `json:"totalEstimate"` TotalConsumed float64 `json:"totalConsumed"` TotalLeft float64 `json:"totalLeft"` ProjectId int64 Progress float64 `json:"progress"` CaseReview bool `json:"caseReview"` archived.NoPKModel }
func (ZentaoExecution) TableName ¶
func (ZentaoExecution) TableName() string
type ZentaoExecutionStory ¶
type ZentaoExecutionStory struct { archived.NoPKModel ConnectionId uint64 `gorm:"primaryKey"` ProjectId int64 `gorm:"primaryKey"` ExecutionId int64 `gorm:"primaryKey"` StoryId int64 `gorm:"primaryKey"` }
func (ZentaoExecutionStory) TableName ¶
func (ZentaoExecutionStory) TableName() string
type ZentaoExecutionSummary ¶
type ZentaoExecutionSummary struct { ConnectionId uint64 `gorm:"primaryKey;type:BIGINT NOT NULL"` Id int64 `gorm:"primaryKey;type:BIGINT NOT NULL;autoIncrement:false"` Name string `gorm:"type:varchar(255)"` Project int64 Code string `gorm:"type:varchar(255)"` Type string `gorm:"type:varchar(255)"` archived.NoPKModel }
func (ZentaoExecutionSummary) TableName ¶
func (ZentaoExecutionSummary) TableName() string
type ZentaoProduct ¶
type ZentaoProduct struct { archived.NoPKModel `json:"-"` ConnectionId uint64 `json:"connectionid" mapstructure:"connectionid" gorm:"primaryKey;type:BIGINT NOT NULL"` Id int64 `json:"id" mapstructure:"id" gorm:"primaryKey;type:BIGINT NOT NULL;autoIncrement:false"` Program int `json:"program" mapstructure:"program"` Name string `json:"name" mapstructure:"name"` Code string `json:"code" mapstructure:"code"` Bind string `json:"bind" mapstructure:"bind"` Line int `json:"line" mapstructure:"line"` Type string `json:"type" mapstructure:"type"` ProductType string `json:"productType" mapstructure:"productType"` Status string `json:"status" mapstructure:"status"` SubStatus string `json:"subStatus" mapstructure:"subStatus"` Description string `json:"desc" mapstructure:"desc"` POId int64 QDId int64 RDId int64 Acl string `json:"acl" mapstructure:"acl"` Reviewer string `json:"reviewer" mapstructure:"reviewer"` CreatedById int64 CreatedDate *time.Time `json:"createdDate" mapstructure:"createdDate"` CreatedVersion string `json:"createdVersion" mapstructure:"createdVersion"` OrderIn int `json:"order" mapstructure:"order"` Deleted string `json:"deleted" mapstructure:"deleted"` Plans int `json:"plans" mapstructure:"plans"` Releases int `json:"releases" mapstructure:"releases"` Builds int `json:"builds" mapstructure:"builds"` Cases int `json:"cases" mapstructure:"cases"` Projects int `json:"projects" mapstructure:"projects"` Executions int `json:"executions" mapstructure:"executions"` Bugs int `json:"bugs" mapstructure:"bugs"` Docs int `json:"docs" mapstructure:"docs"` Progress float64 `json:"progress" mapstructure:"progress"` CaseReview bool `json:"caseReview" mapstructure:"caseReview"` }
func (ZentaoProduct) TableName ¶
func (ZentaoProduct) TableName() string
type ZentaoProductSummary ¶
type ZentaoProductSummary struct { archived.NoPKModel ConnectionId uint64 `gorm:"primaryKey"` ProjectId int64 `gorm:"primaryKey"` Id int64 `gorm:"primaryKey;autoIncrement:false"` Name string `gorm:"type:VARCHAR(255)"` }
func (ZentaoProductSummary) TableName ¶
func (ZentaoProductSummary) TableName() string
type ZentaoProject ¶
type ZentaoProject struct { archived.NoPKModel `json:"-"` ConnectionId uint64 `json:"connectionid" mapstructure:"connectionid" gorm:"primaryKey;type:BIGINT NOT NULL"` Id int64 `json:"id" mapstructure:"id" gorm:"primaryKey;type:BIGINT NOT NULL;autoIncrement:false"` Project int64 `json:"project" mapstructure:"project"` Model string `json:"model" mapstructure:"model"` Type string `json:"type" mapstructure:"type"` ProjectType string `json:"projectType" mapstructure:"projectType"` Lifetime string `json:"lifetime" mapstructure:"lifetime"` Budget string `json:"budget" mapstructure:"budget"` BudgetUnit string `json:"budgetUnit" mapstructure:"budgetUnit"` Attribute string `json:"attribute" mapstructure:"attribute"` Percent int `json:"percent" mapstructure:"percent"` Milestone string `json:"milestone" mapstructure:"milestone"` Output string `json:"output" mapstructure:"output"` Auth string `json:"auth" mapstructure:"auth"` Parent int64 `json:"parent" mapstructure:"parent"` Path string `json:"path" mapstructure:"path"` Grade int `json:"grade" mapstructure:"grade"` Name string `json:"name" mapstructure:"name"` Code string `json:"code" mapstructure:"code"` PlanBegin *time.Time `json:"begin" mapstructure:"begin"` PlanEnd *time.Time `json:"end" mapstructure:"end"` RealBegan *time.Time `json:"realBegan" mapstructure:"realBegan"` RealEnd *time.Time `json:"realEnd" mapstructure:"realEnd"` Days int `json:"days" mapstructure:"days"` Status string `json:"status" mapstructure:"status"` SubStatus string `json:"subStatus" mapstructure:"subStatus"` Pri string `json:"pri" mapstructure:"pri"` Description string `json:"desc" mapstructure:"desc"` Version int `json:"version" mapstructure:"version"` ParentVersion int `json:"parentVersion" mapstructure:"parentVersion"` PlanDuration int `json:"planDuration" mapstructure:"planDuration"` RealDuration int `json:"realDuration" mapstructure:"realDuration"` //OpenedBy string `json:"openedBy" mapstructure:"openedBy"` OpenedDate *time.Time `json:"openedDate" mapstructure:"openedDate"` OpenedVersion string `json:"openedVersion" mapstructure:"openedVersion"` //LastEditedBy string `json:"lastEditedBy" mapstructure:"lastEditedBy"` LastEditedDate *time.Time `json:"lastEditedDate" mapstructure:"lastEditedDate"` ClosedBy string `json:"closedBy" mapstructure:"closedBy"` ClosedDate *time.Time `json:"closedDate" mapstructure:"closedDate"` CanceledBy string `json:"canceledBy" mapstructure:"canceledBy"` CanceledDate *time.Time `json:"canceledDate" mapstructure:"canceledDate"` SuspendedDate *time.Time `json:"suspendedDate" mapstructure:"suspendedDate"` PO string `json:"po" mapstructure:"po"` PM `json:"pm" mapstructure:"pm"` QD string `json:"qd" mapstructure:"qd"` RD string `json:"rd" mapstructure:"rd"` Team string `json:"team" mapstructure:"team"` Acl string `json:"acl" mapstructure:"acl"` Whitelist `json:"whitelist" mapstructure:"" gorm:"-"` OrderIn int `json:"order" mapstructure:"order"` Vision string `json:"vision" mapstructure:"vision"` DisplayCards int `json:"displayCards" mapstructure:"displayCards"` FluidBoard string `json:"fluidBoard" mapstructure:"fluidBoard"` Deleted bool `json:"deleted" mapstructure:"deleted"` Delay int `json:"delay" mapstructure:"delay"` Hours `json:"hours" mapstructure:"hours"` TeamCount int `json:"teamCount" mapstructure:"teamCount"` LeftTasks string `json:"leftTasks" mapstructure:"leftTasks"` //TeamMembers []interface{} `json:"teamMembers" gorm:"-"` TotalEstimate float64 `json:"totalEstimate" mapstructure:"totalEstimate"` TotalConsumed float64 `json:"totalConsumed" mapstructure:"totalConsumed"` TotalLeft float64 `json:"totalLeft" mapstructure:"totalLeft"` Progress float64 `json:"progress" mapstructure:"progress"` TotalReal int `json:"totalReal" mapstructure:"totalReal"` }
func (ZentaoProject) TableName ¶
func (ZentaoProject) TableName() string
type ZentaoProjectStory ¶
type ZentaoProjectStory struct { archived.NoPKModel ConnectionId uint64 `gorm:"primaryKey;type:BIGINT NOT NULL"` ProjectId int64 `gorm:"primaryKey"` StoryId int64 `gorm:"primaryKey"` }
func (ZentaoProjectStory) TableName ¶
func (ZentaoProjectStory) TableName() string
type ZentaoScopeConfig ¶
type ZentaoScopeConfig struct { archived.ScopeConfig `mapstructure:",squash" json:",inline" gorm:"embedded"` ConnectionId uint64 `mapstructure:"connectionId" json:"connectionId"` Name string `gorm:"type:varchar(255);index:idx_name_tapd,unique" validate:"required" mapstructure:"name" json:"name"` TypeMappings json.RawMessage `mapstructure:"typeMappings,omitempty" json:"typeMappings"` BugStatusMappings json.RawMessage `mapstructure:"bugStatusMappings,omitempty" json:"bugStatusMappings"` StoryStatusMappings json.RawMessage `mapstructure:"storyStatusMappings,omitempty" json:"storyStatusMappings"` TaskStatusMappings json.RawMessage `mapstructure:"taskStatusMappings,omitempty" json:"taskStatusMappings"` }
func (ZentaoScopeConfig) TableName ¶
func (t ZentaoScopeConfig) TableName() string
type ZentaoStory ¶
type ZentaoStory struct { archived.NoPKModel ConnectionId uint64 `gorm:"primaryKey;type:BIGINT NOT NULL"` ID int64 `json:"id" gorm:"primaryKey;type:BIGINT NOT NULL;autoIncrement:false" ` Project int64 `json:"project"` Product int64 `json:"product"` Branch int `json:"branch"` Version int `json:"version"` OrderIn int `json:"order"` Vision string `json:"vision"` Parent int64 `json:"parent"` Module int `json:"module"` Plan string `json:"plan"` Source string `json:"source"` SourceNote string `json:"sourceNote"` FromBug int `json:"fromBug"` Feedback int `json:"feedback"` FeedbackBy string `json:"feedbackBy"` Title string `json:"title"` Keywords string `json:"keywords"` Type string `json:"type"` Category string `json:"category"` Pri int `json:"pri"` Estimate float64 `json:"estimate"` Status string `json:"status"` SubStatus string `json:"subStatus"` Color string `json:"color"` Stage string `json:"stage"` StagedById int64 `json:"stagedBy"` //Mailto []interface{} `json:"mailto"` Lib int `json:"lib"` FromStory int64 `json:"fromStory"` FromVersion int `json:"fromVersion"` OpenedById int64 OpenedByName string OpenedDate *time.Time `json:"openedDate"` AssignedToId int64 AssignedToName string AssignedDate *time.Time `json:"assignedDate"` ApprovedDate *time.Time `json:"approvedDate"` LastEditedId int64 LastEditedDate *time.Time `json:"lastEditedDate"` ChangedDate *time.Time `json:"changedDate"` ReviewedById int64 `json:"reviewedBy"` ReviewedDate *time.Time `json:"reviewedDate"` ClosedId int64 ClosedDate *time.Time `json:"closedDate"` ClosedReason string `json:"closedReason"` ActivatedDate *time.Time `json:"activatedDate"` ToBug int `json:"toBug"` ChildStories string `json:"childStories"` LinkStories string `json:"linkStories"` LinkRequirements string `json:"linkRequirements"` DuplicateStory int64 `json:"duplicateStory"` StoryChanged string `json:"storyChanged"` NotifyEmail string `json:"notifyEmail"` URChanged string `json:"URChanged"` Deleted bool `json:"deleted"` PriOrder string `json:"priOrder"` PlanTitle string `json:"planTitle"` }
func (ZentaoStory) TableName ¶
func (ZentaoStory) TableName() string
type ZentaoStoryCommit ¶
type ZentaoStoryCommit struct { archived.NoPKModel ConnectionId uint64 `gorm:"primaryKey;type:BIGINT NOT NULL"` ID int `json:"id" gorm:"primaryKey;type:BIGINT NOT NULL;autoIncrement:false"` ObjectType string `json:"objectType"` ObjectID int `json:"objectID"` Product int64 `json:"product"` Project int64 `json:"project"` Execution int `json:"execution"` Actor string `json:"actor"` Action string `json:"action"` Date string `json:"date"` Comment string `json:"comment"` Extra string `json:"extra"` Host string `json:"host"` //the host part of extra RepoRevision string `json:"repoRevision"` // the repoRevisionJson part of extra ActionRead string `json:"actionRead"` Vision string `json:"vision"` Efforted int `json:"efforted"` ActionDesc string `json:"cctionDesc"` }
func (ZentaoStoryCommit) TableName ¶
func (ZentaoStoryCommit) TableName() string
type ZentaoStoryRepoCommit ¶
type ZentaoStoryRepoCommit struct { archived.NoPKModel ConnectionId uint64 `gorm:"primaryKey;type:BIGINT NOT NULL"` Product int64 `json:"product"` Project int64 `json:"project"` IssueId string `gorm:"primaryKey;type:varchar(255)"` // the story id RepoUrl string `gorm:"primaryKey;type:varchar(255)"` CommitSha string `gorm:"primaryKey;type:varchar(255)"` }
func (ZentaoStoryRepoCommit) TableName ¶
func (ZentaoStoryRepoCommit) TableName() string
type ZentaoTask ¶
type ZentaoTask struct { archived.NoPKModel ConnectionId uint64 `gorm:"primaryKey;type:BIGINT NOT NULL"` ID int64 `json:"id" gorm:"primaryKey;type:BIGINT NOT NULL;autoIncrement:false"` Project int64 `json:"project"` Parent int64 `json:"parent"` Execution int64 `json:"execution"` Module int `json:"module"` Design int `json:"design"` Story int64 `json:"story"` StoryVersion int `json:"storyVersion"` DesignVersion int `json:"designVersion"` FromBug int `json:"fromBug"` Feedback int `json:"feedback"` FromIssue int `json:"fromIssue"` Name string `json:"name"` Type string `json:"type"` Mode string `json:"mode"` Pri int `json:"pri"` Estimate float64 `json:"estimate"` Consumed float64 `json:"consumed"` Deadline string `json:"deadline"` Status string `json:"status"` SubStatus string `json:"subStatus"` Color string `json:"color"` //Mailto interface{} `json:"mailto"` Description string `json:"desc"` Version int `json:"version"` OpenedById int64 OpenedByName string OpenedDate *time.Time `json:"openedDate"` AssignedToId int64 AssignedToName string AssignedDate *time.Time `json:"assignedDate"` EstStarted string `json:"estStarted"` RealStarted *time.Time `json:"realStarted"` FinishedId int64 FinishedDate *time.Time `json:"finishedDate"` FinishedList string `json:"finishedList"` CanceledId int64 CanceledDate *time.Time `json:"canceledDate"` ClosedById int64 ClosedDate *time.Time `json:"closedDate"` PlanDuration int `json:"planDuration"` RealDuration int `json:"realDuration"` ClosedReason string `json:"closedReason"` LastEditedId int64 LastEditedDate *time.Time `json:"lastEditedDate"` ActivatedDate *time.Time `json:"activatedDate"` OrderIn int `json:"order"` Repo int `json:"repo"` Mr int `json:"mr"` Entry string `json:"entry"` NumOfLine string `json:"lines"` V1 string `json:"v1"` V2 string `json:"v2"` Deleted bool `json:"deleted"` Vision string `json:"vision"` StoryID int64 `json:"storyID"` StoryTitle string `json:"storyTitle"` Branch int `json:"branch"` LatestStoryVersion int `json:"latestStoryVersion"` StoryStatus string `json:"storyStatus"` AssignedToRealName string `json:"assignedToRealName"` PriOrder string `json:"priOrder"` NeedConfirm bool `json:"needConfirm"` Progress float64 `json:"progress"` }
func (ZentaoTask) TableName ¶
func (ZentaoTask) TableName() string
type ZentaoTaskCommit ¶
type ZentaoTaskCommit struct { archived.NoPKModel ConnectionId uint64 `gorm:"primaryKey;type:BIGINT NOT NULL"` ID int `json:"id" gorm:"primaryKey;type:BIGINT NOT NULL;autoIncrement:false"` ObjectType string `json:"objectType"` ObjectID int `json:"objectID"` Product int64 `json:"product"` Project int64 `json:"project"` Execution int `json:"execution"` Actor string `json:"actor"` Action string `json:"action"` Date string `json:"date"` Comment string `json:"comment"` Extra string `json:"extra"` Host string `json:"host"` //the host part of extra RepoRevision string `json:"repoRevision"` // the repoRevisionJson part of extra ActionRead string `json:"actionRead"` Vision string `json:"vision"` Efforted int `json:"efforted"` ActionDesc string `json:"cctionDesc"` }
func (ZentaoTaskCommit) TableName ¶
func (ZentaoTaskCommit) TableName() string
type ZentaoTaskRepoCommit ¶
type ZentaoTaskRepoCommit struct { archived.NoPKModel ConnectionId uint64 `gorm:"primaryKey;type:BIGINT NOT NULL"` Product int64 `json:"product"` Project int64 `json:"project"` IssueId string `gorm:"primaryKey;type:varchar(255)"` // the task id RepoUrl string `gorm:"primaryKey;type:varchar(255)"` CommitSha string `gorm:"primaryKey;type:varchar(255)"` }
func (ZentaoTaskRepoCommit) TableName ¶
func (ZentaoTaskRepoCommit) TableName() string
Click to show internal directories.
Click to hide internal directories.