mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 10:58:35 +08:00
项目目录优化,任务模块后端代码
This commit is contained in:
15
apps/system/entity/post.go
Normal file
15
apps/system/entity/post.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package entity
|
||||
|
||||
import "pandax/base/model"
|
||||
|
||||
type SysPost struct {
|
||||
PostId int64 `gorm:"primary_key;AUTO_INCREMENT" json:"postId"`
|
||||
PostName string `gorm:"type:varchar(128);comment:岗位名称" json:"postName"`
|
||||
PostCode string `gorm:"type:varchar(128);comment:岗位代码" json:"postCode"`
|
||||
Sort int64 `gorm:"type:int(4);comment:岗位排序" json:"sort"`
|
||||
Status string `gorm:"type:varchar(1);comment:状态" json:"status"`
|
||||
Remark string `gorm:"type:varchar(255);comment:描述" json:"remark"`
|
||||
CreateBy string `gorm:"type:varchar(128);" json:"createBy"`
|
||||
UpdateBy string `gorm:"type:varchar(128);" json:"updateBy"`
|
||||
model.BaseModel
|
||||
}
|
||||
Reference in New Issue
Block a user