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.

59 lines
2.8 KiB

// Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
package etl
import (
"LAPP_ETL/grmi"
"xorm.io/core"
)
/******************************************************************************
*
* @Struct Name : DataTableLst
*-----------------------------------------------------------------------------
*
* @Description : DataTableLst的实体映射
*
* @Author : 代码生成器创建
*
* @Date : 2021-06-21 17:14:05
*
******************************************************************************/
type DataTableLst struct {
TaskId int `xorm:"pk int 'TaskId'" json:"DataTableLst-TaskId"`
Pos int `xorm:"pk int 'Pos'" json:"DataTableLst-Pos"`
ColNo int `xorm:"int 'ColNo' not null" json:"DataTableLst-ColNo"`
ColDesc string `xorm:"nvarchar(100) 'ColDesc'" json:"DataTableLst-ColDesc"`
RowNo int `xorm:"int 'RowNo'" json:"DataTableLst-RowNo"`
RowName string `xorm:"nvarchar(100) 'RowName'" json:"DataTableLst-RowName"`
TargetField string `xorm:"nvarchar(100) 'targetField' not null" json:"DataTableLst-TargetField"`
FieldType string `xorm:"nvarchar(40) 'FieldType' not null" json:"DataTableLst-FieldType"`
FieldFunc string `xorm:"nvarchar(100) 'FieldFunc'" json:"DataTableLst-FieldFunc"`
DefaultValue string `xorm:"nvarchar(255) 'DefaultValue'" json:"DataTableLst-DefaultValue"`
SetValue string `xorm:"nvarchar(255) 'SetValue'" json:"DataTableLst-SetValue"`
CtrlParam1 string `xorm:"nvarchar(100) 'CtrlParam1'" json:"DataTableLst-CtrlParam1"`
CtrlParam2 string `xorm:"nvarchar(100) 'CtrlParam2'" json:"DataTableLst-CtrlParam2"`
CtrlParam3 int `xorm:"int 'CtrlParam3'" json:"DataTableLst-CtrlParam3"`
CtrlParam4 int `xorm:"int 'CtrlParam4'" json:"DataTableLst-CtrlParam4"`
LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"DataTableLst-LastModify"`
LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"DataTableLst-LastUser"`
CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"DataTableLst-CreateTime"`
}
/******************************************************************************
*
* @Function Name : GetKey
*-----------------------------------------------------------------------------
*
* @Description : 获取实体的主键
*
* @Return Value : 实体的主键
*
* @Author : 代码生成器创建
*
* @Date : 2021-06-21 17:14:05
*
******************************************************************************/
func (self *DataTableLst) GetKey() core.PK {
return core.PK{self.TaskId, self.Pos}
}