| /* |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| */ |
| |
| package archived |
| |
| import ( |
| "github.com/apache/incubator-devlake/models/migrationscripts/archived" |
| "time" |
| ) |
| |
| type ZentaoExecution struct { |
| ConnectionId uint64 `gorm:"primaryKey;type:BIGINT NOT NULL"` |
| Id uint64 `json:"id" gorm:"primaryKey;type:BIGINT NOT NULL"` |
| Project uint64 `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 uint64 `json:"parent"` |
| Path string `json:"path"` |
| Grade int `json:"grade"` |
| Name string `json:"name"` |
| Code string `json:"code"` |
| PlanBegin string `json:"begin"` |
| PlanEnd string `json:"end"` |
| RealBegan string `json:"realBegan"` |
| RealEnd string `json:"realEnd"` |
| Days int `json:"days"` |
| 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 uint64 |
| OpenedDate *time.Time `json:"openedDate"` |
| OpenedVersion string `json:"openedVersion"` |
| LastEditedById uint64 |
| LastEditedDate *time.Time `json:"lastEditedDate"` |
| ClosedById uint64 |
| ClosedDate *time.Time `json:"closedDate"` |
| CanceledById uint64 |
| CanceledDate *time.Time `json:"canceledDate"` |
| SuspendedDate string `json:"suspendedDate"` |
| POId uint64 |
| PMId uint64 |
| QDId uint64 |
| RDId uint64 |
| 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 int `json:"totalHours"` |
| TotalEstimate int `json:"totalEstimate"` |
| TotalConsumed int `json:"totalConsumed"` |
| TotalLeft int `json:"totalLeft"` |
| ProjectId uint64 |
| Progress float64 `json:"progress"` |
| CaseReview bool `json:"caseReview"` |
| archived.NoPKModel |
| } |
| |
| func (ZentaoExecution) TableName() string { |
| return "_tool_zentao_executions" |
| } |