cooperation_contract_change_log.go 1.2 KB
package models

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

type CooperationContractChangeLog struct {
	tableName string `comment:"共创合约变更日志" pg:"cooperation_contract_change_logs,alias:cooperation_contract_change_log"`
	// 共创合约变更记录id
	CooperationContractChangeLogId int64 `comment:"共创合约变更记录id" pg:",pk"`
	// 激励规则
	IncentivesRule string `comment:"激励规则"`
	// 激励规则明细
	IncentivesRuleDetail string `comment:"激励规则明细"`
	// 合约变更操作类型,1编辑、2暂停、3恢复
	OperationType int32 `comment:"合约变更操作类型,1编辑、2暂停、3恢复"`
	// 共创合约编号
	CooperationContractNumber string `comment:"共创合约编号"`
	// 承接人
	Undertakers string `comment:"承接人"`
	// 公司
	Company *domain.Company `comment:"公司"`
	// 组织机构
	Org *domain.Org `comment:"组织"`
	//
	Operator *domain.User `comment:"操作人"`
	// 操作时间
	OperatorTime time.Time `comment:"操作时间"`
	// 更新时间
	UpdatedAt time.Time `comment:"更新时间"`
	// 删除时间
	DeletedAt time.Time `comment:"删除时间" pg:",soft_delete"`
	// 创建时间
	CreatedAt time.Time `comment:"创建时间"`
}