22 lines
1.0 KiB
Go
22 lines
1.0 KiB
Go
package entity
|
|
|
|
import (
|
|
"github.com/gogf/gf/v2/os/gtime"
|
|
"github.com/gogf/gf/v2/util/gmeta"
|
|
)
|
|
|
|
// SpeciesName is the golang structure for table species_name.
|
|
type SpeciesName struct {
|
|
gmeta.Meta `orm:"table:species_name"`
|
|
Id int `orm:"id,primary" json:"id"` // 主键
|
|
SpeciesCode string `orm:"species_code" json:"speciesCode"` // 物种编号
|
|
Name string `orm:"name" json:"name"` // 物种名称
|
|
Content string `orm:"content" json:"content"` // 物种名称内容
|
|
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"` // 数据核查日期
|
|
Remark string `orm:"remark" json:"remark"` // 备注
|
|
}
|