59 lines
3.9 KiB
Go
59 lines
3.9 KiB
Go
// ==========================================================================
|
||
// GFast自动生成model entity操作代码。
|
||
// 生成日期:2025-08-11 17:00:45
|
||
// 生成路径: internal/app/businesses/model/entity/species_survey.go
|
||
// 生成人:gfast
|
||
// desc:物种调查
|
||
// company:云南奇讯科技有限公司
|
||
// ==========================================================================
|
||
|
||
package entity
|
||
|
||
import (
|
||
"github.com/gogf/gf/v2/os/gtime"
|
||
"github.com/gogf/gf/v2/util/gmeta"
|
||
)
|
||
|
||
// SpeciesSurvey is the golang structure for table species_survey.
|
||
type SpeciesSurvey struct {
|
||
gmeta.Meta `orm:"table:species_survey"`
|
||
Id int `orm:"id,primary" json:"id"` //
|
||
SpeciesCode string `orm:"species_code" json:"speciesCode"` // 调查记录编码
|
||
Province string `orm:"province" json:"province"` // 省(自治区、直辖市)
|
||
City string `orm:"city" json:"city"` // 市(地、州、盟)
|
||
County string `orm:"county" json:"county"` // 县(区、市、旗)
|
||
Code string `orm:"code" json:"code"` // 区划代码
|
||
CourseName string `orm:"course_name" json:"courseName"` // 踏查路线名称
|
||
MarkArea string `orm:"mark_area" json:"markArea"` // 踏查总面积(平方千米)
|
||
MarkName string `orm:"mark_name" json:"markName"` // 踏查点名称
|
||
Longitude string `orm:"longitude" json:"longitude"` // 经度
|
||
Dimensionality string `orm:"dimensionality" json:"dimensionality"` // 纬度
|
||
Elevation string `orm:"elevation" json:"elevation"` // 海拔
|
||
Temperature string `orm:"temperature" json:"temperature"` // 温度
|
||
Precipitation string `orm:"precipitation" json:"precipitation"` // 降水
|
||
MarkAreaM string `orm:"mark_area_m" json:"markAreaM"` // 踏查点面积(亩)
|
||
HabitatType string `orm:"habitat_type" json:"habitatType"` // 生境类型
|
||
SoilType string `orm:"soil_type" json:"soilType"` // 土壤类型
|
||
SpeciesName string `orm:"species_name" json:"speciesName"` // 物种名称
|
||
HarmObject string `orm:"harm_object" json:"harmObject"` // 危害对象
|
||
HappenArea string `orm:"happen_area" json:"happenArea"` // 发生面积(亩)
|
||
Treatment string `orm:"treatment" json:"treatment"` // 治理措施(有 无)
|
||
IsStandard int `orm:"is_standard" json:"isStandard"` // 是否设置标准样地
|
||
StandardCode string `orm:"standard_code" json:"standardCode"` // 标准样地编号
|
||
IsSpecimen int `orm:"is_specimen" json:"isSpecimen"` // 是否采集标本
|
||
SpecimenCode string `orm:"specimen_code" json:"specimenCode"` // 标本编号
|
||
Img string `orm:"img" json:"img"` // 图片
|
||
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"` //
|
||
}
|