苏州瑞玛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.

49 lines
2.0 KiB

// Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
package ap
import (
"leit.com/LAPP_CHEERSSON_BACKEND/grmi"
"xorm.io/core"
)
/******************************************************************************
*
* @Struct Name : ErrorDatalst
*-----------------------------------------------------------------------------
*
* @Description : ErrorDatalst的实体映射
*
* @Author : 代码生成器创建
*
* @Date : 2021-12-28 20:59:34
*
******************************************************************************/
type ErrorDatalst struct {
Id int `xorm:"pk int 'Id' autoincr" json:"AP_ErrorDatalst-Id"`
ErrorInfo string `xorm:"text 'ErrorInfo'" json:"AP_ErrorDatalst-ErrorInfo"`
ErrorType string `xorm:"nvarchar(32) 'ErrorType'" json:"AP_ErrorDatalst-ErrorType"`
ErrorStatus string `xorm:"nvarchar(10) 'ErrorStatus'" json:"AP_ErrorDatalst-ErrorStatus"`
TargetSource string `xorm:"nvarchar(32) 'TargetSource'" json:"AP_ErrorDatalst-TargetSource"`
LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"AP_ErrorDatalst-LastModify"`
LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"AP_ErrorDatalst-LastUser"`
CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"AP_ErrorDatalst-CreateTime"`
}
/******************************************************************************
*
* @Function Name : GetKey
*-----------------------------------------------------------------------------
*
* @Description : 获取实体的主键
*
* @Return Value : 实体的主键
*
* @Author : 代码生成器创建
*
* @Date : 2021-12-28 20:59:34
*
******************************************************************************/
func (self *ErrorDatalst) GetKey() core.PK {
return core.PK{self.Id}
}