41 lines
2.4 KiB
Go
41 lines
2.4 KiB
Go
// ==========================================================================
|
||
// GFast自动生成model entity操作代码。
|
||
// 生成日期:2025-08-11 09:44:41
|
||
// 生成路径: internal/app/businesses/model/entity/biocontrol_resource.go
|
||
// 生成人:gfast
|
||
// desc:生防资源
|
||
// company:云南奇讯科技有限公司
|
||
// ==========================================================================
|
||
|
||
package entity
|
||
|
||
import (
|
||
"github.com/gogf/gf/v2/os/gtime"
|
||
"github.com/gogf/gf/v2/util/gmeta"
|
||
)
|
||
|
||
// BiocontrolResource is the golang structure for table biocontrol_resource.
|
||
type BiocontrolResource struct {
|
||
gmeta.Meta `orm:"table:biocontrol_resource"`
|
||
Id int `orm:"id,primary" json:"id"` //
|
||
SpeciesCode string `orm:"species_code" json:"speciesCode"` // 物种编码
|
||
ZhName string `orm:"zh_name" json:"zhName"` // 中文学名
|
||
ZhSynonym string `orm:"zh_synonym" json:"zhSynonym"` // 中文异名
|
||
EnName string `orm:"en_name" json:"enName"` // 英文学名
|
||
LatinName string `orm:"latin_name" json:"latinName"` // 拉丁学名
|
||
LatinSynonym string `orm:"latin_synonym" json:"latinSynonym"` // 拉丁异名
|
||
BiocontrolType int `orm:"biocontrol_type" json:"biocontrolType"` // 生防物类型
|
||
SourcesData string `orm:"sources_data" json:"sourcesData"` // 数据来源
|
||
CreateUser int `orm:"create_user" json:"createUser"` // 数据采集人
|
||
CreateDate *gtime.Time `orm:"create_date" json:"createDate"` // 数据采集日期
|
||
AuditUser int `orm:"audit_user" json:"auditUser"` // 数据核查人
|
||
AuditDate *gtime.Time `orm:"audit_date" json:"auditDate"` // 数据核查日期
|
||
AuditStatus int `orm:"audit_status" json:"auditStatus"` // 核查
|
||
AuditView string `orm:"audit_view" json:"auditView"` // 核查意见
|
||
Remark string `orm:"remark" json:"remark"` // 备注
|
||
Version int `orm:"version" json:"version"` // 版本
|
||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` //
|
||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` //
|
||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` //
|
||
}
|