// 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 : ArticleDailyPlan *----------------------------------------------------------------------------- * * @Description : ArticleDailyPlan的实体映射 * * @Author : 代码生成器创建 * * @Date : 2021-11-30 14:02:35 * ******************************************************************************/ type ArticleDailyPlan struct { PlantNr int `xorm:"pk int 'PlantNr'" json:"AP_ArticleDailyPlan-PlantNr"` ArtId string `xorm:"pk nvarchar(40) 'ArtId'" json:"AP_ArticleDailyPlan-ArtId"` DemandKey string `xorm:"pk nvarchar(40) 'DemandKey'" json:"AP_ArticleDailyPlan-DemandKey"` DemandDate grmi.Date `xorm:"date 'DemandDate' not null" json:"AP_ArticleDailyPlan-DemandDate"` DemandShift string `xorm:"nvarchar(20) 'DemandShift' not null" json:"AP_ArticleDailyPlan-DemandShift"` WorkPlaceId string `xorm:"nvarchar(40) 'WorkPlaceId' not null" json:"AP_ArticleDailyPlan-WorkPlaceId"` PlanQty float64 `xorm:"float 'PlanQty'" json:"AP_ArticleDailyPlan-PlanQty"` Status int `xorm:"int 'Status'" json:"AP_ArticleDailyPlan-Status"` LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"AP_ArticleDailyPlan-LastModify"` LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"AP_ArticleDailyPlan-LastUser"` CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"AP_ArticleDailyPlan-CreateTime"` } /****************************************************************************** * * @Function Name : GetKey *----------------------------------------------------------------------------- * * @Description : 获取实体的主键 * * @Return Value : 实体的主键 * * @Author : 代码生成器创建 * * @Date : 2021-11-30 14:02:35 * ******************************************************************************/ func (self *ArticleDailyPlan) GetKey() core.PK { return core.PK{self.PlantNr, self.ArtId, self.DemandKey} }