优化
This commit is contained in:
@@ -10,6 +10,10 @@ import (
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
type positionRepo struct{ data *Data }
|
||||
|
||||
func NewPositionRepo(data *Data) biz.PositionRepo { return &positionRepo{data: data} }
|
||||
|
||||
type positionPO struct {
|
||||
ID uint `gorm:"primaryKey"`
|
||||
CreatedAt time.Time
|
||||
|
||||
Reference in New Issue
Block a user