contract_undertaker_feedback.go 1.3 KB
package models

import (
	"gitlab.fjmaimaimai.com/allied-creation/allied-creation-cooperation/pkg/domain"
	"time"
)

type ContractUndertakerFeedback struct {
	tableName string `comment:"承接人反馈信息" pg:"contract_undertaker_feedbacks,alias:contract_undertaker_feedback"`
	// 合约承接方反馈记录ID
	FeedbackId int64 `comment:"合约承接方反馈记录ID" pg:",pk"`
	// 合约承接方反馈内容附件
	FeedbackAttachment []*domain.Attachment `comment:"合约承接方反馈内容附件"`
	// 合约承接方反馈内容
	FeedbackContent string `comment:"合约承接方反馈内容"`
	// 共创合约编号
	CooperationContractNumber string `comment:"共创合约编号"`
	// 项目合约名称
	CooperationContractName string `comment:"项目合约名称"`
	// 共创合约承接人
	ContractUndertaker *domain.Undertaker `comment:"共创合约承接人"`
	// 数据所属组织机构
	Org *domain.Org `comment:"数据所属组织机构"`
	// 公司
	Company *domain.Company `comment:"公司"`
	// 更新时间
	UpdatedAt time.Time `comment:"更新时间"`
	// 删除时间
	DeletedAt time.Time `comment:"删除时间" pg:",soft_delete"`
	// 反馈创建时间,同时也作为反馈时间
	CreatedAt time.Time `comment:"反馈创建时间,同时也作为反馈时间"`
}