12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- 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
- WorkflowID 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
- }
|