GAAS GFrame项目web后台
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.

46 lines
1.7 KiB

// Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
package api
import (
"LAPP_GAAS_GFrame_BACKEND/grmi"
"xorm.io/core"
)
/******************************************************************************
*
* @Struct Name : A30Mes
*-----------------------------------------------------------------------------
*
* @Description : A30Mes的实体映射
*
* @Author : 代码生成器创建
*
* @Date : 2021-05-11 17:38:55
*
******************************************************************************/
type A30Mes struct {
ClassName string `xorm:"pk nvarchar(50) 'class_name'" json:"A30_Mes-class_name"`
ClassId int `xorm:"smallint 'class_id' not null" json:"A30_Mes-class_id"`
ClassStartTime grmi.DateTime `xorm:"datetime 'class_start_time' not null" json:"A30_Mes-class_start_time"`
ClassEndTime grmi.DateTime `xorm:"datetime 'class_end_time' not null" json:"A30_Mes-class_end_time"`
CycleTime int `xorm:"smallint 'cycle_time' not null" json:"A30_Mes-cycle_time"`
}
/******************************************************************************
*
* @Function Name : GetKey
*-----------------------------------------------------------------------------
*
* @Description : 获取实体的主键
*
* @Return Value : 实体的主键
*
* @Author : 代码生成器创建
*
* @Date : 2021-05-11 17:38:55
*
******************************************************************************/
func (self *A30Mes) GetKey() core.PK {
return core.PK{self.ClassName}
}