// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.

package model

import (
	"time"
)

const TableNamePlace = "place"

// Place place
type Place struct {
	ID         int32     `gorm:"column:id;primaryKey;autoIncrement:true;comment:Primary Key" json:"id"` // Primary Key
	CreateTime time.Time `gorm:"column:createTime;comment:Create Time" json:"createTime"`               // Create Time
	PlaceID    int32     `gorm:"column:placeId" json:"placeId"`
	PlaceName  string    `gorm:"column:placeName" json:"placeName"`
	City       string    `gorm:"column:city" json:"city"`
	Region     string    `gorm:"column:region" json:"region"`
	Address    string    `gorm:"column:address" json:"address"`
	Longitude  float64   `gorm:"column:longitude" json:"longitude"`
	Latitude   float64   `gorm:"column:latitude" json:"latitude"`
}

// TableName Place's table name
func (*Place) TableName() string {
	return TableNamePlace
}
