苏州瑞玛APS项目web后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
3.2 KiB

// 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 : EscalateMsgDetail
*-----------------------------------------------------------------------------
*
* @Description : EscalateMsgDetail的实体映射
*
* @Author : 代码生成器创建
*
* @Date : 2021-09-07 15:39:41
*
******************************************************************************/
type EscalateMsgDetail struct {
PlantNr int `xorm:"pk int 'PlantNr'" json:"EscalateMsgDetail-PlantNr"`
MsgId string `xorm:"pk nvarchar(40) 'MsgId'" json:"EscalateMsgDetail-MsgId"`
Pos int `xorm:"pk int 'Pos'" json:"EscalateMsgDetail-Pos"`
InformUserId string `xorm:"nvarchar(40) 'InformUserId' not null" json:"EscalateMsgDetail-InformUserId"`
InformType string `xorm:"nvarchar(40) 'InformType' not null" json:"EscalateMsgDetail-InformType"`
MsgHead string `xorm:"nvarchar(255) 'MsgHead' not null" json:"EscalateMsgDetail-MsgHead"`
MsgBody string `xorm:"nvarchar(255) 'MsgBody' not null" json:"EscalateMsgDetail-MsgBody"`
MsgSignature string `xorm:"nvarchar(255) 'MsgSignature' not null" json:"EscalateMsgDetail-MsgSignature"`
Status int `xorm:"int 'Status' not null" json:"EscalateMsgDetail-Status"`
EscalateTime grmi.DateTime `xorm:"datetime 'EscalateTime'" json:"EscalateMsgDetail-EscalateTime"`
ReplyTime grmi.DateTime `xorm:"datetime 'ReplyTime'" json:"EscalateMsgDetail-ReplyTime"`
CtrlPara1 int `xorm:"int 'CtrlPara1' not null" json:"EscalateMsgDetail-CtrlPara1"`
CtrlPara2 int `xorm:"int 'CtrlPara2' not null" json:"EscalateMsgDetail-CtrlPara2"`
CtrlStr1 string `xorm:"nvarchar(255) 'CtrlStr1' not null" json:"EscalateMsgDetail-CtrlStr1"`
CtrlStr2 string `xorm:"nvarchar(255) 'CtrlStr2' not null" json:"EscalateMsgDetail-CtrlStr2"`
CtrlTime1 grmi.DateTime `xorm:"datetime 'CtrlTime1'" json:"EscalateMsgDetail-CtrlTime1"`
CtrlTime2 grmi.DateTime `xorm:"datetime 'CtrlTime2'" json:"EscalateMsgDetail-CtrlTime2"`
LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"EscalateMsgDetail-LastModify"`
LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"EscalateMsgDetail-LastUser"`
CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"EscalateMsgDetail-CreateTime"`
}
/******************************************************************************
*
* @Function Name : GetKey
*-----------------------------------------------------------------------------
*
* @Description : 获取实体的主键
*
* @Return Value : 实体的主键
*
* @Author : 代码生成器创建
*
* @Date : 2021-09-07 15:39:41
*
******************************************************************************/
func (self *EscalateMsgDetail) GetKey() core.PK {
return core.PK{self.PlantNr, self.MsgId, self.Pos}
}