package domain import "time" // 不关注的任务列表 type TaskIgnore struct { Id int `json:"id"` TaskId int `json:"taskId"` UserId int `json:"userId"` CreatedAt time.Time `json:"-"` }
type TaskIgnoreRepository interface { Save(param *TaskIgnore) error Remove(id int) error FindOne(queryOptions map[string]interface{}) (*TaskIgnore, error) Find(queryOptions map[string]interface{}) (int, []*TaskIgnore, error) }