审查视图

pkg/infrastructure/pg/models/node_timer_task.go 622 字节
郑周 authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
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:"删除时间"`
}