You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
628 B
25 lines
628 B
// 自动生成模板ExaWfLeave
|
|
package model
|
|
|
|
import (
|
|
"gin-vue-admin/global"
|
|
"time"
|
|
)
|
|
|
|
// 如果含有time.Time 请自行import time包
|
|
type ExaWfLeave struct {
|
|
global.GVA_MODEL
|
|
Cause string `json:"cause" form:"cause" gorm:"column:cause;comment:"`
|
|
StartTime time.Time `json:"startTime" form:"startTime" gorm:"column:start_time;comment:"`
|
|
EndTime time.Time `json:"endTime" form:"endTime" gorm:"column:end_time;comment:"`
|
|
}
|
|
|
|
type ExaWfLeaveWorkflow struct {
|
|
// 工作流操作结构体
|
|
WorkflowBase `json:"wf"`
|
|
ExaWfLeave `json:"business"`
|
|
}
|
|
|
|
func (ExaWfLeave) TableName() string {
|
|
return "exa_wf_leaves"
|
|
}
|