17 lines
373 B
Go
17 lines
373 B
Go
// Package orm define database data struct
|
|
package orm
|
|
|
|
import "time"
|
|
|
|
type CircuitDiagramOverview struct {
|
|
ID int64 `gorm:""`
|
|
Name string
|
|
CreatedTime time.Time
|
|
UpdateTime time.Time
|
|
}
|
|
|
|
// TableName func respresent return table name of circuit diagram overview
|
|
func (co *CircuitDiagramOverview) TableName() string {
|
|
return "circuit_diagram_overview"
|
|
}
|