package contractEvaluationItems import ( "time" ) type OilContractEvaluationItems struct { Id int `json:"Id" xorm:"not null pk autoincr comment('ID') INT(11) 'Id'"` Category int `json:"Category" xorm:"default 0 comment('0二级单位创建1专业处创建') INT(11) 'Category'"` ContentReviewId int `json:"ContentReviewId" xorm:"default 0 comment('评价ID') INT(11) 'ContentReviewId'"` ItemId int `json:"ItemId" xorm:"not null default 0 comment('当前节点ID') INT(11) 'ItemId'"` ParentId int `json:"ParentId" xorm:"not null default 0 comment('上级节点ID') INT(11) 'ParentId'"` SequenceNo string `json:"SequenceNo" xorm:"default '0' comment('序号') VARCHAR(50) 'SequenceNo'"` Content string `json:"Content" xorm:"comment('评价内容') VARCHAR(1000) 'Content'"` NormalScore string `json:"NormalScore" xorm:"comment('标准分值') DECIMAL(11,2) 'NormalScore'"` Score string `json:"Score" xorm:"comment('实得分数') DECIMAL(11,2) 'Score'"` LevelCode int `json:"LevelCode" xorm:"not null default 0 comment('级别') INT(11) 'LevelCode'"` Remark string `json:"Remark" xorm:"comment('备注') VARCHAR(500) 'Remark'"` ModifiedOn time.Time `json:"ModifiedOn" xorm:"DATETIME 'ModifiedOn'"` ModifiedUserId int `json:"ModifiedUserId" xorm:"INT(11) 'ModifiedUserId'"` ModifiedBy string `json:"ModifiedBy" xorm:"VARCHAR(50) 'ModifiedBy'"` } type EvaluationItems struct { Id int `json:"Id"` ParentId int `json:"ParentId"` SequenceNo string `json:"SequenceNo"` Content string `json:"Content"` NormalScore string `json:"NormalScore"` Score string `json:"Score"` LevelCode int `json:"LevelCode"` Remark string `json:"Remark"` IsDelete int `json:"IsDelete"` CreateOn time.Time `json:"CreateOn"` CreateUserId int `json:"CreateUserId"` CreateBy string `json:"CreateBy"` ModifiedOn time.Time `json:"ModifiedOn"` ModifiedUserId int `json:"ModifiedUserId"` ModifiedBy string `json:"ModifiedBy"` Son []EvaluationItems }