审查视图

pkg/application/position/command/save_position.go 317 字节
庄敏学 authored
1 2 3 4 5 6
package command

type SavePositionCommand struct {
	//职位ID
	Id int64 `json:"id"`
	//公司ID
庄敏学 authored
7
	CompanyId int64 `json:"company_id"`
庄敏学 authored
8 9 10
	//职位名称
	Name string `json:"name"`
	//父级职位ID
庄敏学 authored
11
	ParentId int64 `json:"parent_id"`
庄敏学 authored
12 13 14 15 16
	//职位路径
	Path string `json:"path"`
	//职位层级
	Level int `json:"level"`
}