123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- package dbModel
- import (
- "github.com/jinzhu/gorm"
- "time"
- )
- type Application struct {
- gorm.Model
- WorkFlowID string
- WorkFlowStepInfoID string
- ApplicationName string
- ApplicationCause string
- ApplicationStartData time.Time
- ApplicationEndData time.Time
- }
- type ApplicationWorkFlowProcess struct {
- gorm.Model
- ApplicationID uint
- CurrentNode string
- HistoricalNode string
- CurrentUser string
- HistoricalUser string
- State bool
- }
- type Workflow struct {
- gorm.Model
- WorkflowNickName string
- WorkflowName string
- WorkflowDescription string
- WorkflowStep []WorkflowStepInfo
- }
- type WorkflowStepInfo struct {
- gorm.Model
- WorkflowID uint
- IsStrat bool
- StepName string
- StepNo float64
- StepAuthorityID string
- IsEnd bool
- }
|