service.xpcool.com/internal/model/entity/house_presale.go
夏犀麟 1e28e02dc1
Some checks failed
Build and Deploy (service.xpcool.com) / build-and-deploy (push) Failing after 31s
feat(house): 新增新房预售证模块并扩展相关功能
- 添加 api/house/presale 接口模块实现新房预售证查询功能
- 新增 POST /api/service/admin/house/presale/list 接口支持 region/purpose/keyword 筛选
- 在 HousePresaleVO 中增加 PublishDate 字段用于存储公示发布日期
- 在 house_presale 表中添加 publish_date 字段并完成数据库同步
- 更新权限种子配置新增菜单 95 新房预售及 950 查询权限
- 完成相关 controller 和 service 层代码实现并验证接口返回正常数据
2026-08-27 02:01:04 +08:00

26 lines
2.3 KiB
Go

// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
// HousePresale is the golang structure for table house_presale.
type HousePresale struct {
Id uint64 `json:"id" orm:"id" description:""` //
PresaleNo string `json:"presaleNo" orm:"presale_no" description:"预售证号"` // 预售证号
CommunityName string `json:"communityName" orm:"community_name" description:"楼盘/项目名"` // 楼盘/项目名
Developer string `json:"developer" orm:"developer" description:"房地产开发企业"` // 房地产开发企业
Region string `json:"region" orm:"region" description:"区县"` // 区县
Address string `json:"address" orm:"address" description:"建筑位置"` // 建筑位置
BuildingNo string `json:"buildingNo" orm:"building_no" description:"楼栋号"` // 楼栋号
HouseCount int `json:"houseCount" orm:"house_count" description:"套数"` // 套数
Area float64 `json:"area" orm:"area" description:"建筑面积(平米)"` // 建筑面积(平米)
Purpose string `json:"purpose" orm:"purpose" description:"规划用途(住宅/商业)"` // 规划用途(住宅/商业)
IssueDate string `json:"issueDate" orm:"issue_date" description:"初始核发日期"` // 初始核发日期
PublishDate string `json:"publishDate" orm:"publish_date" description:"公示发布日期(YYYY-MM-DD)"` // 公示发布日期(YYYY-MM-DD)
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:""` //
}