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.
GO/app/model/brokerBusinessStoreDepartme...

17 lines
398 B

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
}