// Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved. package base import ( "LAPP_ACURA_MOM_BACKEND/grmi" "xorm.io/core" ) /****************************************************************************** * * @Struct Name : ProcessDependOn *----------------------------------------------------------------------------- * * @Description : ProcessDependOn的实体映射 * * @Author : 代码生成器创建 * * @Date : 2021-11-22 17:33:27 * ******************************************************************************/ type ProcessDependOn struct { PlantNr int `xorm:"pk int 'PlantNr'" json:"ProcessDependOn-PlantNr"` PO string `xorm:"pk nvarchar(40) 'PO'" json:"ProcessDependOn-PO"` Pos int `xorm:"pk int 'Pos'" json:"ProcessDependOn-Pos"` DependPO string `xorm:"nvarchar(40) 'DependPO' not null" json:"ProcessDependOn-DependPO"` DependStepNo int `xorm:"int 'DependStepNo' not null" json:"ProcessDependOn-DependStepNo"` DependRuleId int `xorm:"int 'DependRuleId' not null" json:"ProcessDependOn-DependRuleId"` DependValue1 int `xorm:"int 'DependValue1' not null" json:"ProcessDependOn-DependValue1"` DependValue2 string `xorm:"nvarchar(40) 'DependValue2' not null" json:"ProcessDependOn-DependValue2"` CtrlPara1 string `xorm:"nvarchar(40) 'CtrlPara1' not null" json:"ProcessDependOn-CtrlPara1"` CtrlPara2 string `xorm:"nvarchar(40) 'CtrlPara2' not null" json:"ProcessDependOn-CtrlPara2"` CtrlPara3 string `xorm:"nvarchar(40) 'CtrlPara3' not null" json:"ProcessDependOn-CtrlPara3"` CtrlPara4 int `xorm:"int 'CtrlPara4' not null" json:"ProcessDependOn-CtrlPara4"` CtrlPara5 int `xorm:"int 'CtrlPara5' not null" json:"ProcessDependOn-CtrlPara5"` CtrlPara6 int `xorm:"int 'CtrlPara6' not null" json:"ProcessDependOn-CtrlPara6"` LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"ProcessDependOn-LastModify"` LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"ProcessDependOn-LastUser"` CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"ProcessDependOn-CreateTime"` } /****************************************************************************** * * @Function Name : GetKey *----------------------------------------------------------------------------- * * @Description : 获取实体的主键 * * @Return Value : 实体的主键 * * @Author : 代码生成器创建 * * @Date : 2021-11-22 17:33:27 * ******************************************************************************/ func (self *ProcessDependOn) GetKey() core.PK { return core.PK{self.PlantNr, self.PO, self.Pos} }