40 lines
2.3 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 10:15:42
// 生成路径: internal/app/businesses/model/entity/prevention.go
// 生成人gfast
// desc:防控措施
// company:云南奇讯科技有限公司
// ==========================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// Prevention is the golang structure for table prevention.
type Prevention struct {
gmeta.Meta `orm:"table:prevention"`
Id int `orm:"id,primary" json:"id"` //
SpeciesCode string `orm:"species_code" json:"speciesCode"` // 物种编码
BotanyQuarantine string `orm:"botany_quarantine" json:"botanyQuarantine"` // 植物检疫
Physics string `orm:"physics" json:"physics"` // 物理防治
Chemistry string `orm:"chemistry" json:"chemistry"` // 化学防治
Biology string `orm:"biology" json:"biology"` // 生物防治
Other string `orm:"other" json:"other"` // 其他防控措施
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"` //
}