LAPP标准接口程序
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.4 KiB

// Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
package etl
import (
"LAPP_ETL/grmi"
"xorm.io/core"
)
/******************************************************************************
*
* @Struct Name : ShellParam
*-----------------------------------------------------------------------------
*
* @Description : ShellParam的实体映射
*
* @Author : 代码生成器创建
*
* @Date : 2021-05-26 17:44:22
*
******************************************************************************/
type ShellParam struct {
TaskId int `xorm:"pk int 'TaskId'" json:"ShellParam-TaskId"`
ShellName string `xorm:"pk nvarchar(255) 'ShellName'" json:"ShellParam-ShellName"`
ParamName string `xorm:"pk nvarchar(255) 'ParamName'" json:"ShellParam-ParamName"`
ParamType string `xorm:"nvarchar(255) 'ParamType'" json:"ShellParam-ParamType"`
ParamValue string `xorm:"nvarchar(255) 'ParamValue'" json:"ShellParam-ParamValue"`
ValueType int `xorm:"int 'ValueType'" json:"ShellParam-ValueType"`
ValueFormat string `xorm:"nvarchar(255) 'ValueFormat'" json:"ShellParam-ValueFormat"`
CtlParam1 string `xorm:"nvarchar(255) 'CtlParam1'" json:"ShellParam-CtlParam1"`
CtlParam2 string `xorm:"nvarchar(255) 'CtlParam2'" json:"ShellParam-CtlParam2"`
CtlParam3 int `xorm:"int 'CtlParam3'" json:"ShellParam-CtlParam3"`
CtlParam4 int `xorm:"int 'CtlParam4'" json:"ShellParam-CtlParam4"`
LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"ShellParam-LastModify"`
LastUser string `xorm:"nvarchar(20) 'LastUser' " json:"ShellParam-LastUser"`
CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"ShellParam-CreateTime"`
}
/******************************************************************************
*
* @Function Name : GetKey
*-----------------------------------------------------------------------------
*
* @Description : 获取实体的主键
*
* @Return Value : 实体的主键
*
* @Author : 代码生成器创建
*
* @Date : 2021-05-26 17:44:22
*
******************************************************************************/
func (self *ShellParam) GetKey() core.PK {
return core.PK{self.TaskId, self.ShellName, self.ParamName}
}