You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
398 B
17 lines
398 B
8 months ago
|
package model
|
||
|
|
||
|
import (
|
||
|
"gorm.io/gorm"
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
type BrokerBusinessStoreDepartment struct {
|
||
|
Id uint `gorm:"primaryKey"`
|
||
|
StoreId uint // 门店id
|
||
|
Name string // 部门名称
|
||
|
Staffs []BrokerBusinessStoreStaff `gorm:"foreignKey:DepartmentId"`
|
||
|
CreatedAt time.Time
|
||
|
UpdatedAt time.Time
|
||
|
DeletedAt gorm.DeletedAt
|
||
|
}
|