|
// 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 : UserCustlst
|
|
*-----------------------------------------------------------------------------
|
|
*
|
|
* @Description : UserCustlst的实体映射
|
|
*
|
|
* @Author : 代码生成器创建
|
|
*
|
|
* @Date : 2021-08-20 11:28:44
|
|
*
|
|
******************************************************************************/
|
|
type UserCustlst struct {
|
|
PlantNr int `xorm:"pk int 'PlantNr'" json:"AP_UserCustlst-PlantNr"`
|
|
UserId string `xorm:"pk nvarchar(40) 'UserId'" json:"AP_UserCustlst-UserId"`
|
|
CustomerId string `xorm:"pk nvarchar(40) 'CustomerId'" json:"AP_UserCustlst-CustomerId"`
|
|
CtrlFunc1 string `xorm:"nvarchar(100) 'CtrlFunc1' not null" json:"AP_UserCustlst-CtrlFunc1"`
|
|
CtrlFunc2 string `xorm:"nvarchar(100) 'CtrlFunc2' not null" json:"AP_UserCustlst-CtrlFunc2"`
|
|
CtrlFunc3 string `xorm:"nvarchar(100) 'CtrlFunc3' not null" json:"AP_UserCustlst-CtrlFunc3"`
|
|
CtrlFunc4 string `xorm:"nvarchar(100) 'CtrlFunc4' not null" json:"AP_UserCustlst-CtrlFunc4"`
|
|
CtrlPara1 int `xorm:"int 'CtrlPara1' not null" json:"AP_UserCustlst-CtrlPara1"`
|
|
CtrlPara2 int `xorm:"int 'CtrlPara2' not null" json:"AP_UserCustlst-CtrlPara2"`
|
|
CtrlStr1 string `xorm:"nvarchar(255) 'CtrlStr1' not null" json:"AP_UserCustlst-CtrlStr1"`
|
|
CtrlStr2 string `xorm:"nvarchar(255) 'CtrlStr2' not null" json:"AP_UserCustlst-CtrlStr2"`
|
|
CtrlTime1 grmi.DateTime `xorm:"datetime 'CtrlTime1' not null created" json:"AP_UserCustlst-CtrlTime1"`
|
|
CtrlTime2 grmi.DateTime `xorm:"datetime 'CtrlTime2' not null created" json:"AP_UserCustlst-CtrlTime2"`
|
|
LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"AP_UserCustlst-LastModify"`
|
|
LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"AP_UserCustlst-LastUser"`
|
|
CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"AP_UserCustlst-CreateTime"`
|
|
}
|
|
|
|
/******************************************************************************
|
|
*
|
|
* @Function Name : GetKey
|
|
*-----------------------------------------------------------------------------
|
|
*
|
|
* @Description : 获取实体的主键
|
|
*
|
|
* @Return Value : 实体的主键
|
|
*
|
|
* @Author : 代码生成器创建
|
|
*
|
|
* @Date : 2021-08-20 11:28:44
|
|
*
|
|
******************************************************************************/
|
|
func (self *UserCustlst) GetKey() core.PK {
|
|
return core.PK{self.PlantNr, self.UserId, self.CustomerId}
|
|
}
|