...
|
...
|
@@ -5,8 +5,9 @@ import "time" |
|
|
// 实际被应用的评估条目
|
|
|
type EvaluationItemUsed struct {
|
|
|
Id int //id
|
|
|
CompanyId int //公司id
|
|
|
EvaluationProjectId int //对应的项目id
|
|
|
NodeId string //填写评估评估节点对应id
|
|
|
NodeId int //填写评估评估节点对应id
|
|
|
NodeType string //填写评估评估节点对应类型同evaluation_template.go->LinkNode.Type,
|
|
|
SortBy int //排序
|
|
|
Category string //类别
|
...
|
...
|
@@ -20,5 +21,9 @@ type EvaluationItemUsed struct { |
|
|
Required int // 必填项
|
|
|
CreatedAt time.Time //数据创建时间
|
|
|
UpdatedAt time.Time //数据更新时间
|
|
|
DeletedAt *time.Time
|
|
|
}
|
|
|
|
|
|
type EvaluationItemUsedRepository interface {
|
|
|
Insert(Item []EvaluationItemUsed) (*EvaluationItemUsed, error)
|
|
|
Find(queryOptions map[string]interface{}) (int64, []*EvaluationItemUsed, error)
|
|
|
} |
...
|
...
|
|