广汽安道拓Acura项目MES后台
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.
 
 

54 lines
2.5 KiB

// Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
package pln
import (
"LAPP_ACURA_MOM_BACKEND/grmi"
"xorm.io/core"
)
/******************************************************************************
*
* @Struct Name : DashBoardDetail
*-----------------------------------------------------------------------------
*
* @Description : DashBoardDetail的实体映射
*
* @Author : 代码生成器创建
*
* @Date : 2022-08-18 14:29:17
*
******************************************************************************/
type DashBoardDetail struct {
PlantNr int `xorm:"pk int 'PlantNr'" json:"DashBoardDetail-PlantNr"`
RecordNr int `xorm:"pk int 'RecordNr' autoincr" json:"DashBoardDetail-RecordNr"`
WorkLineId string `xorm:"pk nvarchar(40) 'WorkLineId'" json:"DashBoardDetail-WorkLineId"`
RefreshTime string `xorm:"nvarchar(20) 'RefreshTime'" json:"DashBoardDetail-RefreshTime"`
RecordObject string `xorm:"nvarchar(64) 'RecordObject'" json:"DashBoardDetail-RecordObject"`
Descr string `xorm:"nvarchar(64) 'Descr'" json:"DashBoardDetail-Descr"`
DataType string `xorm:"nvarchar(64) 'DataType'" json:"DashBoardDetail-DataType"`
RecordKey string `xorm:"nvarchar(64) 'RecordKey'" json:"DashBoardDetail-RecordKey"`
RecordValue string `xorm:"nvarchar(32) 'RecordValue'" json:"DashBoardDetail-RecordValue"`
RecordData string `xorm:"nvarchar(32) 'RecordData'" json:"DashBoardDetail-RecordData"`
LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"DashBoardDetail-LastModify"`
LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"DashBoardDetail-LastUser"`
CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"DashBoardDetail-CreateTime"`
}
/******************************************************************************
*
* @Function Name : GetKey
*-----------------------------------------------------------------------------
*
* @Description : 获取实体的主键
*
* @Return Value : 实体的主键
*
* @Author : 代码生成器创建
*
* @Date : 2022-08-18 14:29:17
*
******************************************************************************/
func (self *DashBoardDetail) GetKey() core.PK {
return core.PK{self.PlantNr, self.RecordNr, self.WorkLineId}
}