|
|
- // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
-
- package base
-
- import (
- "leit.com/LAPP_CHEERSSON_BACKEND/grmi"
- "xorm.io/core"
- )
-
- /******************************************************************************
- *
- * @Struct Name : EscalateModelLevelDetail
- *-----------------------------------------------------------------------------
- *
- * @Description : EscalateModelLevelDetail的实体映射
- *
- * @Author : 代码生成器创建
- *
- * @Date : 2021-09-07 15:39:41
- *
- ******************************************************************************/
- type EscalateModelLevelDetail struct {
- PlantNr int `xorm:"pk int 'PlantNr'" json:"EscalateModelLevelDetail-PlantNr"`
- EscalateModelId string `xorm:"pk nvarchar(40) 'EscalateModelId'" json:"EscalateModelLevelDetail-EscalateModelId"`
- EscalateLevel int `xorm:"pk int 'EscalateLevel'" json:"EscalateModelLevelDetail-EscalateLevel"`
- InformUserId string `xorm:"pk nvarchar(40) 'InformUserId'" json:"EscalateModelLevelDetail-InformUserId"`
- Pos int `xorm:"int 'Pos' not null" json:"EscalateModelLevelDetail-Pos"`
- InformType string `xorm:"nvarchar(40) 'InformType' not null" json:"EscalateModelLevelDetail-InformType"`
- MsgHead string `xorm:"nvarchar(255) 'MsgHead' not null" json:"EscalateModelLevelDetail-MsgHead"`
- MsgBody string `xorm:"nvarchar(255) 'MsgBody' not null" json:"EscalateModelLevelDetail-MsgBody"`
- MsgSignature string `xorm:"nvarchar(255) 'MsgSignature' not null" json:"EscalateModelLevelDetail-MsgSignature"`
- CtrlPara1 int `xorm:"int 'CtrlPara1' not null" json:"EscalateModelLevelDetail-CtrlPara1"`
- CtrlPara2 int `xorm:"int 'CtrlPara2' not null" json:"EscalateModelLevelDetail-CtrlPara2"`
- CtrlStr1 string `xorm:"nvarchar(255) 'CtrlStr1' not null" json:"EscalateModelLevelDetail-CtrlStr1"`
- CtrlStr2 string `xorm:"nvarchar(255) 'CtrlStr2' not null" json:"EscalateModelLevelDetail-CtrlStr2"`
- CtrlTime1 grmi.DateTime `xorm:"datetime 'CtrlTime1'" json:"EscalateModelLevelDetail-CtrlTime1"`
- CtrlTime2 grmi.DateTime `xorm:"datetime 'CtrlTime2'" json:"EscalateModelLevelDetail-CtrlTime2"`
- LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"EscalateModelLevelDetail-LastModify"`
- LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"EscalateModelLevelDetail-LastUser"`
- CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"EscalateModelLevelDetail-CreateTime"`
- }
-
- /******************************************************************************
- *
- * @Function Name : GetKey
- *-----------------------------------------------------------------------------
- *
- * @Description : 获取实体的主键
- *
- * @Return Value : 实体的主键
- *
- * @Author : 代码生成器创建
- *
- * @Date : 2021-09-07 15:39:41
- *
- ******************************************************************************/
- func (self *EscalateModelLevelDetail) GetKey() core.PK {
- return core.PK{self.PlantNr, self.EscalateModelId, self.EscalateLevel, self.InformUserId}
- }
|