1234567891011121314151617181920212223242526272829 |
- // 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 TableNameSysStation = "sys_station"
- // SysStation mapped from table <sys_station>
- type SysStation struct {
- ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
- Stationid int64 `gorm:"column:stationid" json:"stationid,string"` // 变电站ID
- Name string `gorm:"column:name" json:"name"` // 变电站名称
- Address string `gorm:"column:address" json:"address"` // 变电站地址
- Province string `gorm:"column:province" json:"province"` // 所属省份
- Region string `gorm:"column:region" json:"region"` // 所属地区
- Stationdesc string `gorm:"column:stationdesc" json:"stationdesc"` // 变电站备注信息
- CreateAt time.Time `gorm:"->" json:"create_at" c:"-"` // 创建时间
- UpdateAt time.Time `gorm:"->" json:"update_at" c:"-"` // 更新时间
- }
- // TableName SysStation's table name
- func (*SysStation) TableName() string {
- return TableNameSysStation
- }
|