39 lines
2.0 KiB
Go
39 lines
2.0 KiB
Go
// ==========================================================================
|
||
// GFast自动生成model entity操作代码。
|
||
// 生成日期:2025-08-08 15:05:26
|
||
// 生成路径: internal/app/businesses/model/entity/foreign_distribution.go
|
||
// 生成人:gfast
|
||
// desc:国外分布
|
||
// company:云南奇讯科技有限公司
|
||
// ==========================================================================
|
||
|
||
package entity
|
||
|
||
import (
|
||
"github.com/gogf/gf/v2/os/gtime"
|
||
"github.com/gogf/gf/v2/util/gmeta"
|
||
)
|
||
|
||
// ForeignDistribution is the golang structure for table foreign_distribution.
|
||
type ForeignDistribution struct {
|
||
gmeta.Meta `orm:"table:foreign_distribution"`
|
||
Id int `orm:"id,primary" json:"id"` //
|
||
SpeciesCode string `orm:"species_code" json:"speciesCode"` // 物种编码
|
||
Continent string `orm:"continent" json:"continent"` // 所属大洲
|
||
Region string `orm:"region" json:"region"` // 所属国家/地区
|
||
BelongState string `orm:"belong_state" json:"belongState"` // 所属州
|
||
Year string `orm:"year" json:"year"` // 发现/报道年份
|
||
References string `orm:"references" json:"references"` // 参考文献
|
||
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"` //
|
||
}
|