node_timer_task.go 622 字节
package models

import (
	"time"
)

type NodeTimerTask struct {
	tableName  struct{}   `pg:"node_timer_task" comment:"流程节点定时任务"`
	Id         int64      `comment:"ID"`
	CompanyId  int64      `comment:"公司ID"`
	CycleId    int64      `comment:"周期ID"`
	ProjectId  int64      `comment:"项目ID"`
	NodeId     int64      `comment:"流程ID"`
	LastSentAt *time.Time `comment:"最后一次发送时间"`
	NextSentAt *time.Time `comment:"下一次发送时间"`
	CreatedAt  time.Time  `comment:"创建时间"`
	UpdatedAt  time.Time  `comment:"更新时间"`
	DeletedAt  *time.Time `comment:"删除时间"`
}