final project structure
This commit is contained in:
11
wagfarm-api/asset/land/model.go
Normal file
11
wagfarm-api/asset/land/model.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package land
|
||||
|
||||
import "wagfarm-api/asset/base"
|
||||
|
||||
type Land struct {
|
||||
base.Asset
|
||||
FID string `gorm:"not null"`
|
||||
IsWaterProtectionArea bool `gorm:"not null"`
|
||||
IsRedArea bool `gorm:"not null"`
|
||||
Area float64 `gorm:"not null"`
|
||||
}
|
||||
Reference in New Issue
Block a user