service.xpcool.com/internal/model/entity/house_preference.go
夏犀麟 4aca0c7f6f
Some checks failed
Build and Deploy (service.xpcool.com) / build-and-deploy (push) Failing after 5m7s
feat(house): 实现看房模块后端功能
- 新增 9 张房屋相关数据表(社区/楼宇/房源/价格快照/交易/设施/社区设施/学区/偏好)
- 添加菜单权限种子数据并绑定超级管理员角色
- 生成 DAO 层代码和实体对象
- 实现房屋模块 API 接口(社区/房源/看板)和控制器服务层
- 支持多平台软关联匹配、笋盘标记和低可信度标记功能
- 更新超级管理员账号为 xxcool/xxCool@2026
- 调整 RBAC 菜单结构,移除管理员管理功能,新增日志管理菜单
- 修复 RBAC 安全漏洞,确保禁用角色权限失效
- 重构认证模块,将登录相关接口迁移到统一包结构下
- 移除废弃的管理模块和工具类接口定义
- 为通用工具包添加中文注释和文档说明
2026-08-26 23:42:38 +08:00

25 lines
2.1 KiB
Go

// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
// HousePreference is the golang structure for table house_preference.
type HousePreference struct {
Id uint64 `json:"id" orm:"id" description:""` //
BudgetMin float64 `json:"budgetMin" orm:"budget_min" description:"预算下限(万元)"` // 预算下限(万元)
BudgetMax float64 `json:"budgetMax" orm:"budget_max" description:"预算上限(万元)"` // 预算上限(万元)
AreaMin float64 `json:"areaMin" orm:"area_min" description:"面积下限(平米)"` // 面积下限(平米)
AreaMax float64 `json:"areaMax" orm:"area_max" description:"面积上限(平米)"` // 面积上限(平米)
Layouts string `json:"layouts" orm:"layouts" description:"户型偏好JSON"` // 户型偏好JSON
SubwayLines string `json:"subwayLines" orm:"subway_lines" description:"地铁线路JSON"` // 地铁线路JSON
SchoolRequired int `json:"schoolRequired" orm:"school_required" description:"是否要求学区"` // 是否要求学区
CommuteTarget string `json:"commuteTarget" orm:"commute_target" description:"通勤目标点"` // 通勤目标点
CommuteLimitMin int `json:"commuteLimitMin" orm:"commute_limit_min" description:"通勤上限(分钟)"` // 通勤上限(分钟)
RegionPrefer string `json:"regionPrefer" orm:"region_prefer" description:"区域偏好JSON"` // 区域偏好JSON
Weights string `json:"weights" orm:"weights" description:"权重JSON"` // 权重JSON
CreatedAt string `json:"createdAt" orm:"created_at" description:""` //
UpdatedAt string `json:"updatedAt" orm:"updated_at" description:""` //
DeletedAt string `json:"deletedAt" orm:"deleted_at" description:""` //
}