|
// Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
|
|
|
|
package base
|
|
|
|
import (
|
|
"LAPP_LF_MOM_BACKEND/grmi"
|
|
"xorm.io/core"
|
|
)
|
|
|
|
/******************************************************************************
|
|
*
|
|
* @Struct Name : PrintInfoCreateRecord
|
|
*-----------------------------------------------------------------------------
|
|
*
|
|
* @Description : PrintInfoCreateRecord的实体映射
|
|
*
|
|
* @Author : 代码生成器创建
|
|
*
|
|
* @Date : 2021-09-16 13:10:56
|
|
*
|
|
******************************************************************************/
|
|
type PrintInfoCreateRecord struct {
|
|
PlantNr int `xorm:"pk int 'PlantNr'" json:"PrintInfoCreateRecord-PlantNr"`
|
|
WorkLineid string `xorm:"pk nvarchar(40) 'WorkLineid'" json:"PrintInfoCreateRecord-WorkLineid"`
|
|
SerialOrderId string `xorm:"pk nvarchar(100) 'SerialOrderId'" json:"PrintInfoCreateRecord-SerialOrderId"`
|
|
TemplateId string `xorm:"nvarchar(64) 'TemplateId' not null" json:"PrintInfoCreateRecord-TemplateId"`
|
|
SubmitPO int `xorm:"int 'SubmitPO' not null" json:"PrintInfoCreateRecord-SubmitPO"`
|
|
SubmitWorkPlaceNr string `xorm:"nvarchar(40) 'SubmitWorkPlaceNr' not null" json:"PrintInfoCreateRecord-SubmitWorkPlaceNr"`
|
|
Status int `xorm:"int 'Status' not null" json:"PrintInfoCreateRecord-Status"`
|
|
CreateId int64 `xorm:"bigint 'CreateId' not null autoincr" json:"PrintInfoCreateRecord-CreateId"`
|
|
LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"PrintInfoCreateRecord-LastModify"`
|
|
LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"PrintInfoCreateRecord-LastUser"`
|
|
CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"PrintInfoCreateRecord-CreateTime"`
|
|
}
|
|
|
|
/******************************************************************************
|
|
*
|
|
* @Function Name : GetKey
|
|
*-----------------------------------------------------------------------------
|
|
*
|
|
* @Description : 获取实体的主键
|
|
*
|
|
* @Return Value : 实体的主键
|
|
*
|
|
* @Author : 代码生成器创建
|
|
*
|
|
* @Date : 2021-09-16 13:10:56
|
|
*
|
|
******************************************************************************/
|
|
func (self *PrintInfoCreateRecord) GetKey() core.PK {
|
|
return core.PK{self.PlantNr, self.WorkLineid, self.SerialOrderId}
|
|
}
|