// ========================================================================== // This is auto-generated by gf cli tool. Fill this file as you wish. // ========================================================================== package model import ( comModel "dashoo.cn/micro/app/common/model" "dashoo.cn/micro/app/model/internal" ) // SysPost is the golang structure for table sys_post. type SysPost internal.SysPost // Fill with you ideas below. // SysPostSearchParams 搜索参数 type SysPostSearchParams struct { PostCode string `p:"postCode"` //岗位编码 PostName string `p:"postName"` //岗位名称 Status string `p:"status"` //状态 comModel.PageReq } // SysPostAddParams 添加岗位参数 type SysPostAddParams struct { PostCode string `p:"postCode" v:"required#岗位编码不能为空"` PostName string `p:"postName" v:"required#岗位名称不能为空"` PostSort int `p:"postSort" v:"required#岗位排序不能为空"` Status string `p:"status" v:"required#状态不能为空"` Remark string `p:"remark"` CreatedBy uint64 } // SysPostEditParams 修改岗位参数 type SysPostEditParams struct { PostId int64 `p:"postId" v:"required#id必须"` SysPostAddParams UpdatedBy uint64 }