Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Department ¶
type Department struct { DeptNo string `gorm:"column:dept_no;primary_key" json:"dept_no"` DeptName string `gorm:"column:dept_name" json:"dept_name"` }
func (*Department) TableName ¶
func (d *Department) TableName() string
TableName sets the insert table name for this struct type
type DeptEmp ¶
type DeptManager ¶
type DeptManager struct { EmpNo int `gorm:"column:emp_no;primary_key" json:"emp_no"` DeptNo string `gorm:"column:dept_no" json:"dept_no"` FromDate time.Time `gorm:"column:from_date" json:"from_date"` ToDate time.Time `gorm:"column:to_date" json:"to_date"` }
func (*DeptManager) TableName ¶
func (d *DeptManager) TableName() string
TableName sets the insert table name for this struct type
type Employee ¶
type Employee struct { EmpNo int `gorm:"column:emp_no;primary_key" json:"emp_no"` BirthDate time.Time `gorm:"column:birth_date" json:"birth_date"` FirstName string `gorm:"column:first_name" json:"first_name"` LastName string `gorm:"column:last_name" json:"last_name"` Gender string `gorm:"column:gender" json:"gender"` HireDate time.Time `gorm:"column:hire_date" json:"hire_date"` }
type Salary ¶
Click to show internal directories.
Click to hide internal directories.