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.

58 lines
2.7 KiB

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