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

55 lines
2.8 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 : ArticleIndependentDemand
*-----------------------------------------------------------------------------
*
* @Description : ArticleIndependentDemand的实体映射
*
* @Author : 代码生成器创建
*
* @Date : 2021-12-23 20:21:02
*
******************************************************************************/
type ArticleIndependentDemand struct {
PlantNr int `xorm:"pk int 'PlantNr'" json:"AP_ArticleIndependentDemand-PlantNr"`
ArtId string `xorm:"pk nvarchar(40) 'ArtId'" json:"AP_ArticleIndependentDemand-ArtId"`
DemandKey string `xorm:"pk nvarchar(40) 'DemandKey'" json:"AP_ArticleIndependentDemand-DemandKey"`
VersionNr string `xorm:"pk nvarchar(40) 'VersionNr'" json:"AP_ArticleIndependentDemand-VersionNr"`
ProjectId string `xorm:"nvarchar(40) 'ProjectId' not null" json:"AP_ArticleIndependentDemand-ProjectId"`
CustomerId string `xorm:"nvarchar(40) 'CustomerId' not null" json:"AP_ArticleIndependentDemand-CustomerId"`
DemandDate grmi.Date `xorm:"date 'DemandDate' not null" json:"AP_ArticleIndependentDemand-DemandDate"`
DemandYear int `xorm:"int 'DemandYear' not null" json:"AP_ArticleIndependentDemand-DemandYear"`
DemandWeek int `xorm:"int 'DemandWeek' not null" json:"AP_ArticleIndependentDemand-DemandWeek"`
DemandMonth int `xorm:"int 'DemandMonth' not null" json:"AP_ArticleIndependentDemand-DemandMonth"`
DemandQty float64 `xorm:"float 'DemandQty'" json:"AP_ArticleIndependentDemand-DemandQty"`
LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"AP_ArticleIndependentDemand-LastModify"`
LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"AP_ArticleIndependentDemand-LastUser"`
CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"AP_ArticleIndependentDemand-CreateTime"`
}
/******************************************************************************
*
* @Function Name : GetKey
*-----------------------------------------------------------------------------
*
* @Description : 获取实体的主键
*
* @Return Value : 实体的主键
*
* @Author : 代码生成器创建
*
* @Date : 2021-12-23 20:21:02
*
******************************************************************************/
func (self *ArticleIndependentDemand) GetKey() core.PK {
return core.PK{self.PlantNr, self.ArtId, self.DemandKey, self.VersionNr}
}