node_task.go 688 字节
package models

import (
	"time"
)

type NodeTask struct {
	tableName  struct{}   `comment:"环节任务" pg:"node_task"`
	Id         int64      `comment:"ID" pg:"pk:id"`
	CompanyId  int64      `comment:"公司ID"`
	CycleId    int64      `comment:"周期ID"`
	ProjectId  int64      `comment:"项目ID"`
	NodeId     int64      `comment:"环节ID"`
	KpiCycle   int        `comment:"周期"`
	BeginAt    *time.Time `comment:"起始时间"`
	EndAt      *time.Time `comment:"截止时间"`
	NextSentAt *time.Time `comment:"下一次发送时间"`
	CreatedAt  time.Time  `comment:"创建时间"`
	UpdatedAt  time.Time  `comment:"更新时间"`
	DeletedAt  *time.Time `comment:"删除时间"`
}