node_task.go 1006 字节
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"`
	NodeType     int        `comment:"环节类型"`
	NodeName     string     `comment:"环节名称"`
	NodeDescribe string     `comment:"环节描述"`
	NodeSort     int        `comment:"环节顺序"`
	TimeStart    *time.Time `comment:"起始时间"`
	TimeEnd      *time.Time `comment:"截至时间"`
	KpiCycle     int        `comment:"考核周期(1日、2周、3月)"`
	NextSentAt   *time.Time `comment:"下一次发送时间"`
	LastSentAt   *time.Time `comment:"最后一次发送时间"`
	CreatedAt    time.Time  `comment:"创建时间"`
	UpdatedAt    time.Time  `comment:"更新时间"`
	DeletedAt    *time.Time `comment:"删除时间"`
}