Files
x_admin/server/model/flow_history.go
2024-08-16 01:03:54 +08:00

38 lines
1.3 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package model
import "x_admin/core"
//FlowHistory 流程历史实体
type FlowHistory struct {
Id int `gorm:"primarykey;comment:'历史id'"` // 历史id
ApplyId int `gorm:"comment:'申请id'"` // 申请id
TemplateId int `gorm:"comment:'模板id'"` // 模板id
ApplyUserId int `gorm:"comment:'申请人id'"` // 申请人id
ApplyUserNickname string `gorm:"comment:'申请人昵称'"` // 申请人昵称
ApproverId int `gorm:"comment:'审批人id'"` // 审批人id
ApproverNickname string `gorm:"comment:'审批用户昵称'"` // 审批用户昵称
NodeId string `gorm:"comment:'节点'"` // 节点
NodeType string `gorm:"comment:'节点类型'"` // 节点类型
NodeLabel string `gorm:"comment:'节点名称'"` //节点名称
FormValue string `gorm:"comment:'表单值'"` // 表单值
PassStatus int `gorm:"comment:'通过状态1待处理2通过3拒绝'"` // 通过状态1待处理2通过3拒绝
PassRemark string `gorm:"comment:'通过备注'"` // 通过备注
UpdateTime core.NullTime `gorm:"autoUpdateTime;comment:'更新时间'"` // 更新时间
CreateTime core.NullTime `gorm:"autoCreateTime;comment:'创建时间'"` // 创建时间
DeleteTime core.NullTime `gorm:"default:null;comment:'删除时间'"` // 删除时间
}