17 lines
406 B
Go
17 lines
406 B
Go
package base
|
|
|
|
import (
|
|
ecore "simrs-vx/internal/domain/base-entities/core"
|
|
)
|
|
|
|
type Basic struct {
|
|
ecore.SmallMain // adjust this according to the needs
|
|
Code string `json:"code" gorm:"unique;size:20"`
|
|
Name string `json:"name" gorm:"size:100"`
|
|
Specialist_Code *string `json:"specialist_code" gorm:"size:20"`
|
|
}
|
|
|
|
func (Basic) TableName() string {
|
|
return "Subspecialist"
|
|
}
|