positions.go
347 字节
package models
import "time"
type Positions struct {
Id int64 //ID
CompanyId int64 //公司ID
Name string //职位名称
ParentId int64 //父级职位
Path string //职位路径
Level int //层级
Remarks string //备注
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt *time.Time `bun:",soft_delete"`
}