feat(park):修改园区信息功能已经完成。

This commit is contained in:
徐涛
2022-08-15 21:01:56 +08:00
parent 1bc87f7ca2
commit ddda0ac196
4 changed files with 60 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ type Park struct {
Deleted `xorm:"extends"`
Id string `xorm:"varchar(120) pk not null" json:"id"`
UserId string `xorm:"varchar(120) not null" json:"userId"`
Name string `xorm:"vachar(70) not null" json:"name"`
Name string `xorm:"varchar(70) not null" json:"name"`
Abbr *string `xorm:"varchar(50)" json:"abbr"`
Area decimal.NullDecimal `xorm:"numeric(14,2)" json:"area"`
TenementQuantity decimal.NullDecimal `xorm:"numeric(8,0)" json:"tenement"`