审查视图

pkg/infrastructure/pg/models/task_ignore.go 306 字节
tangxvhui authored
1 2 3 4 5 6 7
package models

import "time"

// 不关注的任务列表
type TaskIgnore struct {
	tableName struct{}  `comment:"不关注的任务列表" pg:"task_ignore"`
tangxvhui authored
8
	Id        int       `pg:"id,pk"`
tangxvhui authored
9 10 11 12
	TaskId    int       `pg:"task_id"`
	UserId    int       `pg:"user_id"`
	CreatedAt time.Time `pg:"created_at"`
}