service.xpcool.com/internal/model/entity/house_community.go
夏犀麟 ea50261cb8
Some checks failed
Build and Deploy (service.xpcool.com) / build-and-deploy (push) Failing after 35s
feat(house): 扩充看房数据并增强服务器日志功能
- 新增新房预售证表 house_presale 存储预售许可信息
- 为 house_community 表添加 avg_price 字段存储小区参考均价
- 增强服务器操作审计日志功能,新增管理员账号、IP归属地、错误信息、UA等字段
- 实现纯Go版IP归属地离线解析器,无外部依赖,支持二分查找
- 优化看房列表查询逻辑,修复Fields设置位置导致的SQL语法错误
- 集成招聘模块,添加独立数据库配置和Bark推送服务支持
- 重构日志查询接口,支持多维度筛选和综合分页列表展示
- 更新DAO实体结构同步数据库表结构调整
2026-08-27 01:47:32 +08:00

29 lines
2.8 KiB
Go

// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
// HouseCommunity is the golang structure for table house_community.
type HouseCommunity struct {
Id uint64 `json:"id" orm:"id" description:""` //
Name string `json:"name" orm:"name" description:"小区/楼盘名"` // 小区/楼盘名
Region string `json:"region" orm:"region" description:"区县(云岩/南明/观山湖/花溪等)"` // 区县(云岩/南明/观山湖/花溪等)
BusinessDistrict string `json:"businessDistrict" orm:"business_district" description:"板块"` // 板块
Address string `json:"address" orm:"address" description:"地址"` // 地址
Lng float64 `json:"lng" orm:"lng" description:"经度(GCJ-02)"` // 经度(GCJ-02)
Lat float64 `json:"lat" orm:"lat" description:"纬度(GCJ-02)"` // 纬度(GCJ-02)
BuildYear int `json:"buildYear" orm:"build_year" description:"建成年份"` // 建成年份
Households int `json:"households" orm:"households" description:"总户数"` // 总户数
PlotRatio float64 `json:"plotRatio" orm:"plot_ratio" description:"容积率"` // 容积率
GreenRate float64 `json:"greenRate" orm:"green_rate" description:"绿化率"` // 绿化率
AvgPrice float64 `json:"avgPrice" orm:"avg_price" description:"小区参考均价(元/平米)"` // 小区参考均价(元/平米)
PropertyCompany string `json:"propertyCompany" orm:"property_company" description:"物业公司"` // 物业公司
PropertyFee float64 `json:"propertyFee" orm:"property_fee" description:"物业费(元/月/平米)"` // 物业费(元/月/平米)
Developer string `json:"developer" orm:"developer" description:"开发商"` // 开发商
Source string `json:"source" orm:"source" description:"数据来源"` // 数据来源
CreatedAt string `json:"createdAt" orm:"created_at" description:""` //
UpdatedAt string `json:"updatedAt" orm:"updated_at" description:""` //
DeletedAt string `json:"deletedAt" orm:"deleted_at" description:""` //
}