service.xpcool.com/internal/model/entity/house_listing.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

37 lines
3.8 KiB
Go

// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
// HouseListing is the golang structure for table house_listing.
type HouseListing struct {
Id uint64 `json:"id" orm:"id" description:""` //
CommunityId uint64 `json:"communityId" orm:"community_id" description:"小区ID"` // 小区ID
BuildingId uint64 `json:"buildingId" orm:"building_id" description:"楼栋ID"` // 楼栋ID
HouseNo string `json:"houseNo" orm:"house_no" description:"房号"` // 房号
Layout string `json:"layout" orm:"layout" description:"户型(如3室2厅)"` // 户型(如3室2厅)
Area float64 `json:"area" orm:"area" description:"建筑面积(平米)"` // 建筑面积(平米)
UsableArea float64 `json:"usableArea" orm:"usable_area" description:"套内面积(平米)"` // 套内面积(平米)
Orientation string `json:"orientation" orm:"orientation" description:"朝向"` // 朝向
Floor int `json:"floor" orm:"floor" description:"所在楼层"` // 所在楼层
TotalFloors int `json:"totalFloors" orm:"total_floors" description:"总楼层"` // 总楼层
Decoration string `json:"decoration" orm:"decoration" description:"装修"` // 装修
TotalPrice float64 `json:"totalPrice" orm:"total_price" description:"总价(万元)"` // 总价(万元)
UnitPrice float64 `json:"unitPrice" orm:"unit_price" description:"单价(元/平米)"` // 单价(元/平米)
ListPrice float64 `json:"listPrice" orm:"list_price" description:"挂牌价(万元)"` // 挂牌价(万元)
Source string `json:"source" orm:"source" description:"来源平台"` // 来源平台
SourceHouseId string `json:"sourceHouseId" orm:"source_house_id" description:"平台侧房源ID"` // 平台侧房源ID
SourceUrl string `json:"sourceUrl" orm:"source_url" description:"房源链接"` // 房源链接
MatchGroupId uint64 `json:"matchGroupId" orm:"match_group_id" description:"疑似同房源分组(跨平台软关联)"` // 疑似同房源分组(跨平台软关联)
OnMarketDays int `json:"onMarketDays" orm:"on_market_days" description:"挂牌天数"` // 挂牌天数
PriceChangeCount int `json:"priceChangeCount" orm:"price_change_count" description:"调价次数"` // 调价次数
Status int `json:"status" orm:"status" description:"1在售 2下架 3成交"` // 1在售 2下架 3成交
Confidence int `json:"confidence" orm:"confidence" description:"可信度 0正常 1低可信"` // 可信度 0正常 1低可信
IsBargain int `json:"isBargain" orm:"is_bargain" description:"笋盘标记 0否 1是"` // 笋盘标记 0否 1是
ListingTime string `json:"listingTime" orm:"listing_time" 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:""` //
}