|
// Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
|
|
|
|
package wm
|
|
|
|
import (
|
|
"LAPP_AS/grmi"
|
|
"xorm.io/core"
|
|
)
|
|
|
|
/******************************************************************************
|
|
*
|
|
* @Struct Name : TransitStock
|
|
*-----------------------------------------------------------------------------
|
|
*
|
|
* @Description : TransitStock的实体映射
|
|
*
|
|
* @Author : 代码生成器创建
|
|
*
|
|
* @Date : 2021-08-20 14:06:46
|
|
*
|
|
******************************************************************************/
|
|
type TransitStock struct {
|
|
PlantNr int `xorm:"pk int 'PlantNr'" json:"WM_TransitStock-PlantNr"`
|
|
ArtId string `xorm:"pk nvarchar(40) 'ArtId'" json:"WM_TransitStock-ArtId"`
|
|
Pos int `xorm:"pk int 'Pos'" json:"WM_TransitStock-Pos"`
|
|
OrderTime grmi.DateTime `xorm:"datetime 'OrderTime'" json:"WM_TransitStock-OrderTime"`
|
|
ActStock float64 `xorm:"float 'ActStock'" json:"WM_TransitStock-ActStock"`
|
|
LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"WM_TransitStock-LastModify"`
|
|
LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"WM_TransitStock-LastUser"`
|
|
CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"WM_TransitStock-CreateTime"`
|
|
}
|
|
|
|
/******************************************************************************
|
|
*
|
|
* @Function Name : GetKey
|
|
*-----------------------------------------------------------------------------
|
|
*
|
|
* @Description : 获取实体的主键
|
|
*
|
|
* @Return Value : 实体的主键
|
|
*
|
|
* @Author : 代码生成器创建
|
|
*
|
|
* @Date : 2021-08-20 14:06:46
|
|
*
|
|
******************************************************************************/
|
|
func (self *TransitStock) GetKey() core.PK {
|
|
return core.PK{self.PlantNr, self.ArtId, self.Pos}
|
|
}
|