model

package
v0.0.0-...-0dde032 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Area

type Area struct {
	BaseModel
	DistrictId   string `json:"district_id" gorm:"column:district_id" `
	DistrictName string `json:"district_name" gorm:"column:district_name"`
	AreaName     string `json:"area_name" gorm:"column:area_name"`
	AreaId       string `json:"area_id" gorm:"column:area_id"`
}

func (*Area) TableName

func (m *Area) TableName() string

type BaseModel

type BaseModel struct {
	ID        int64      `json:"id" structs:"id" gorm:"primaryKey;column:id;not null;unsigned"`
	CreatedAt *time.Time `` /* 135-byte string literal not displayed */
	UpdatedAt *time.Time `` /* 126-byte string literal not displayed */
}

type ChengJiao

type ChengJiao struct {
	BaseModel
	HousedelId string  `json:"housedel_id" gorm:"column:housedel_id"` // 房源删除ID
	DistrictId string  `json:"district_id" gorm:"column:district_id"` // 区县名称
	TotalPrice float64 `json:"total_price" gorm:"column:total_price"` // 总价
	UnitPrice  float64 `json:"unit_price" gorm:"column:unit_price"`   // 单价
	DealDate   string  `json:"deal_date" gorm:"column:deal_date"`     // 成交时间
	DealCycle  int64   `json:"deal_cycle" gorm:"column:deal_cycle"`   // 成交周期
	DealPrice  float64 `json:"deal_price" gorm:"column:deal_price"`   // 成交价
}

func (*ChengJiao) TableName

func (m *ChengJiao) TableName() string

type House

type House struct {
	BaseModel
	HousedelId       string  `json:"housedel_id" gorm:"column:housedel_id"`             // 房源删除ID
	DistrictId       string  `json:"district_id" gorm:"column:district_id"`             // 区县名称
	HouseArea        float64 `json:"house_area" gorm:"column:house_area"`               // 房屋面积
	HouseOrientation string  `json:"house_orientation" gorm:"column:house_orientation"` // 房屋朝向
	HouseType        string  `json:"house_type" gorm:"column:house_type"`               // 房屋类型
	HouseYear        string  `json:"house_year" gorm:"column:house_year"`               // 房屋年限
	XiaoquName       string  `json:"xiaoqu_name" gorm:"column:xiaoqu_name"`             // 小区名称
	HouseFloor       string  `json:"house_floor" gorm:"column:house_floor"`             // 楼层总高度
}

func (*House) TableName

func (m *House) TableName() string

type HousePrice

type HousePrice struct {
	BaseModel
	HousedelId string  `json:"housedel_id" gorm:"column:housedel_id"` // 房源删除ID
	Version    string  `json:"version" gorm:"column:version"`         // 版本
	DistrictId string  `json:"district_id" gorm:"column:district_id"` // 区县名称
	TotalPrice float64 `json:"total_price" gorm:"column:total_price"` // 总价
	UnitPrice  float64 `json:"unit_price" gorm:"column:unit_price"`   // 单价
}

func (*HousePrice) TableName

func (m *HousePrice) TableName() string

type XiaoquPrice

type XiaoquPrice struct {
	HousedelId   string  `json:"housedel_id" gorm:"column:housedel_id"` // 房源删除ID
	TotalPrice   float64 `json:"total_price" gorm:"column:total_price"` // 总价
	UnitPrice    float64 `json:"unit_price" gorm:"column:unit_price"`   // 单价
	HouseArea    float64 `json:"house_area" gorm:"column:house_area"`   // 房屋面积
	XiaoquName   string  `json:"xiaoqu_name" gorm:"column:xiaoqu_name"` // 小区名称
	DistrictName string  `json:"district_name" gorm:"column:district_name"`
	AreaName     string  `json:"area_name" gorm:"column:area_name"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL