| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- package contractReview
- import (
- "time"
- )
- type OilContractReview struct {
- Id int `json:"Id" xorm:"not null pk autoincr INT(11) 'Id'"`
- ContractId int `json:"ContractId" xorm:"not null comment('合同表Id') INT(11) 'ContractId'"`
- Status string `json:"Status" xorm:"not null default '0' comment('状态标识( 0 初始 - 1待二级初审 - 2待二级复审 - 3专业科室接收 - 4待专业科室审核- 7待专业处室审批 - 8 完成)') VARCHAR(10) 'Status'"`
- WorkflowId string `json:"WorkflowId" xorm:"default '0' comment('工作流的ID') VARCHAR(50) 'WorkflowId'"`
- BusinessKey string `json:"BusinessKey" xorm:"comment('流程序号') VARCHAR(255) 'BusinessKey'"`
- ProcessKey string `json:"ProcessKey" xorm:"comment('工作流名称') VARCHAR(255) 'ProcessKey'"`
- BackRemark string `json:"BackRemark" xorm:"comment('退回原因') VARCHAR(255) 'BackRemark'"`
- FirstAudit int `json:"FirstAudit" xorm:"comment('初审') INT(11) 'FirstAudit'"`
- SecondAudit int `json:"SecondAudit" xorm:"comment('复审') INT(11) 'SecondAudit'"`
- ThirdAudit int `json:"ThirdAudit" xorm:"comment('专业科室审批') INT(11) 'ThirdAudit'"`
- FourthAudit int `json:"FourthAudit" xorm:"comment('集中审批') INT(11) 'FourthAudit'"`
- CommitComId string `xorm:"default '0' comment('提交二级单位Id') VARCHAR(50)"`
- ProfessionalAudit int `json:"ProfessionalAudit" xorm:"comment('业务处室专业审批人id') INT(11) 'ProfessionalAudit'"`
- AuditIndex int `json:"AuditIndex" xorm:"default 0 comment('审批次数') INT(11) 'AuditIndex'"`
- IsFinal int `json:"IsFinal" xorm:"comment('是否最终评价(履行完成) 0否1是') INT(11) 'IsFinal'"`
- CreateOn time.Time `json:"CreateOn" xorm:"DATETIME 'CreateOn'"`
- CreateUserId int `json:"CreateUserId" xorm:"INT(11) 'CreateUserId'"`
- CreateBy string `json:"CreateBy" xorm:"VARCHAR(50) 'CreateBy'"`
- ModifiedOn time.Time `json:"ModifiedOn" xorm:"DATETIME 'ModifiedOn'"`
- ModifiedUserId int `json:"ModifiedUserId" xorm:"INT(11) 'ModifiedUserId'"`
- ModifiedBy string `json:"ModifiedBy" xorm:"VARCHAR(50) 'ModifiedBy'"`
- UnitId int `json:"UnitId" xorm:"INT(11) 'UnitId'"`
- Unit string `json:"Unit" xorm:"VARCHAR(50) 'Unit'"`
- }
- type OilContractReviewListVo struct {
- Id int `json:"Id"`
- ContractId int `json:"ContractId"`
- Status string `json:"Status"`
- WorkflowId string `json:"WorkflowId"`
- BusinessKey string `json:"BusinessKey"`
- ProcessKey string `json:"ProcessKey"`
- BackRemark string `json:"BackRemark"`
- FirstAudit int `json:"FirstAudit"`
- SecondAudit int `json:"SecondAudit"`
- ThirdAudit int `json:"ThirdAudit"`
- FourthAudit int `json:"FourthAudit"`
- CommitComId string `json:"FourthAudit"`
- ProfessionalAudit int `json:"ProfessionalAudit"`
- AuditIndex int `json:"AuditIndex"`
- IsFinal string `json:"IsFinal"`
- 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"`
- SupplierName string `json:"SupplierName"` // 供应商名称
- ProjectName string `json:"ProjectName"` // 项目名称
- ContractNo string `json:"ContractNo"` // 合同编号
- SupplierId int `json:"SupplierId"`
- ProjectPlace string `json:"ProjectPlace"`
- ProjectOwner string `json:"ProjectOwner"`
- Telephone string `json:"Telephone"`
- ProjectType string `json:"ProjectType"`
- ContractClass string `json:"ContractClass"`
- ContractMode string `json:"ContractMode"`
- Amount string `json:"Amount"`
- ContractPeriod string `json:"ContractPeriod"`
- OpenDate time.Time `json:"OpenDate"`
- PlanFinishDate time.Time `json:"PlanFinishDate"`
- SettleStatus string `json:"SettleStatus"`
- Remark string `json:"Remark"`
- }
- type OilContractReviewVo struct {
- Items []*OilContractEvaluationItemsVo
- Id int `json:"Id" xorm:"not null pk INT(11) 'Id'"`
- ContractId int `json:"ContractId" xorm:"not null comment('合同表Id') INT(11) 'ContractId'"`
- Status string `xorm:"not null default '0' VARCHAR(10)"`
- WorkflowId string `json:"WorkflowId" xorm:"default '0' comment('工作流的ID') VARCHAR(50) 'WorkflowId'"`
- BusinessKey string `json:"BusinessKey" xorm:"comment('流程序号') VARCHAR(255) 'BusinessKey'"`
- ProcessKey string `json:"ProcessKey" xorm:"comment('工作流名称') VARCHAR(255) 'ProcessKey'"`
- BackRemark string `json:"BackRemark" xorm:"comment('退回原因') VARCHAR(255) 'BackRemark'"`
- FirstAudit int `xorm:"default 0 comment('初审') INT(10)"`
- SecondAudit int `xorm:"default 0 comment('复审') INT(10)"`
- ThirdAudit int `xorm:"default 0 comment('专业科室审批') INT(10)"`
- ProfessionalAudit int `xorm:"default 0 comment('业务处室专业审批') INT(10)"`
- FourthAudit int `xorm:"default 0 comment('集中审批') INT(10)"`
- AuditIndex int `xorm:"default 0 comment('审批次数') INT(11)"`
- CreateOn time.Time `json:"CreateOn" xorm:"DATETIME 'CreateOn'"`
- CreateUserId int `json:"CreateUserId" xorm:"INT(11) 'CreateUserId'"`
- CreateBy string `json:"CreateBy" xorm:"VARCHAR(50) 'CreateBy'"`
- 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 OilContractEvaluationItemsVo struct{
- Id int `json:"Id" xorm:"not null pk autoincr comment('ID') INT(11) 'Id'"`
- Type int `json:"Type" xorm:"default 1 comment('项类型 1分值 2布尔') INT(11) 'Type'"`
- ContractId int `json:"ContractId" xorm:"default 0 comment('合同表ID') INT(11) 'ContractId'"`
- ContractWorkId int `json:"ContractId" xorm:"default 0 comment('ReviewWork表ID') INT(11) 'ContractWorkId'"`
- 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'"`
- }
|