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

51 lines
2.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 : PrintDetail
*-----------------------------------------------------------------------------
*
* @Description : PrintDetail的实体映射
*
* @Author : 代码生成器创建
*
* @Date : 2021-08-20 11:28:44
*
******************************************************************************/
type PrintDetail struct {
PlantNr int `xorm:"pk int 'PlantNr'" json:"PrintDetail-PlantNr"`
PrintHeadId string `xorm:"pk varchar(40) 'PrintHeadId'" json:"PrintDetail-PrintHeadId"`
Pos int `xorm:"pk smallint 'Pos'" json:"PrintDetail-Pos"`
VarName string `xorm:"varchar(18) 'VarName' not null" json:"PrintDetail-VarName"`
VarValue string `xorm:"varchar(40) 'VarValue' not null" json:"PrintDetail-VarValue"`
VarType string `xorm:"varchar(10) 'VarType' not null" json:"PrintDetail-VarType"`
VarPos string `xorm:"varchar(10) 'VarPos' not null" json:"PrintDetail-VarPos"`
LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"PrintDetail-LastModify"`
LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"PrintDetail-LastUser"`
CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"PrintDetail-CreateTime"`
}
/******************************************************************************
*
* @Function Name : GetKey
*-----------------------------------------------------------------------------
*
* @Description : 获取实体的主键
*
* @Return Value : 实体的主键
*
* @Author : 代码生成器创建
*
* @Date : 2021-08-20 11:28:44
*
******************************************************************************/
func (self *PrintDetail) GetKey() core.PK {
return core.PK{self.PlantNr, self.PrintHeadId, self.Pos}
}