49 lines
2.8 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2025-08-11 09:34:44
// 生成路径: internal/app/businesses/model/entity/host_botany.go
// 生成人gfast
// desc:寄主生物
// company:云南奇讯科技有限公司
// ==========================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// HostBotany is the golang structure for table host_botany.
type HostBotany struct {
gmeta.Meta `orm:"table:host_botany"`
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"` // 拉丁异名
Mu string `orm:"mu" json:"mu"` // 目
OrderTitle string `orm:"order_title" json:"orderTitle"` // Order
Ke string `orm:"ke" json:"ke"` // 科
Family string `orm:"family" json:"family"` // Family
Shu string `orm:"shu" json:"shu"` // 属
Genus string `orm:"genus" json:"genus"` // Genus
Zhong string `orm:"zhong" json:"zhong"` // 种
Species string `orm:"species" json:"species"` // Species
HostType string `orm:"host_type" json:"hostType"` // 寄主类型
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"` //
}