declare namespace API {
  type PostListItem = {
    postId: string
    postCode: string
    postName: string
    postSort: number
    remark: string
    delFlag: string
    createBy: string
    updateBy: string
    createTime: string
    updateTime: string
  }

  /** 岗位列表结果 */
  type PostListResult = PostListItem[]

  /** 岗位分页结果 */
  type PostPageResult = PostListItem[]

  /** 编辑岗位入参 */
  type UpdatePostParams = {
    postId: number
    postCode: string
    postName: string
    postSort: number
    remarks?: string
  }

  /** 新增岗位入参 */
  type AddPostParams = Omit<UpdatePostParams, 'postId'>
}
