hospital-admin-api/api/requests/doctorWithdrawal.go

60 lines
4.0 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package requests
type DoctorWithdrawalRequest struct {
GetDoctorWithdrawalPage // 获取医生提现列表-分页
GetDoctorWithdrawalOrderPage // 提现详情-关联订单列表-分页
PutDoctorWithdrawalIncome // 修改提现个人所得税
PutDoctorWithdrawalExamine // 修改提现审核状态
DoctorWithdrawalExportList // 提现记录列表-导出
DoctorWithdrawalOrderExportList // 提现详情-关联订单-导出
}
// GetDoctorWithdrawalPage 获取医生提现列表-分页
type GetDoctorWithdrawalPage struct {
Page int `json:"page" form:"page" label:"页码"`
PageSize int `json:"page_size" form:"page_size" label:"每页个数"`
Mobile string `json:"mobile" form:"mobile" label:"手机号"`
UserName string `json:"user_name" form:"user_name" label:"用户名"`
ExamineTime string `json:"examine_time" form:"examine_time" label:"审核日期"` // 时间区间数组形式下标0为开始时间下标1为结束时间
PaymentTime string `json:"payment_time" form:"payment_time" label:"财务打款时间"` // 时间区间数组形式下标0为开始时间下标1为结束时间
ExamineStatus *int `json:"examine_status" form:"examine_status" label:"审核状态"` // 1:审核中 2:审核通过 3:审核未通过)
PaymentStatus *int `json:"payment_status" form:"payment_status" label:"打款状态"` // 财务打款状态0:否 1:是)
}
// GetDoctorWithdrawalOrderPage 提现详情-关联订单列表-分页
type GetDoctorWithdrawalOrderPage struct {
WithdrawalId string `json:"withdrawal_id" form:"withdrawal_id" validate:"required" label:"withdrawal_id"`
Page int `json:"page" form:"page" label:"页码"`
PageSize int `json:"page_size" form:"page_size" label:"每页个数"`
}
// PutDoctorWithdrawalIncome 修改提现个人所得税
type PutDoctorWithdrawalIncome struct {
IncomeTax float64 `json:"income_tax" form:"income_tax" validate:"required" label:"个人所得税金额"`
}
// PutDoctorWithdrawalExamine 修改提现审核状态
type PutDoctorWithdrawalExamine struct {
ExamineStatus int `json:"examine_status" form:"examine_status" validate:"required,oneof=2 3" label:"审核状态"` // 1:审核中 2:审核通过 3:审核未通过)
ExamineFailReason string `json:"examine_fail_reason" form:"examine_fail_reason" label:"审核失败原因"`
}
// DoctorWithdrawalExportList 提现记录列表-导出
type DoctorWithdrawalExportList struct {
Type int `json:"type" form:"type" label:"类型" validate:"required,oneof=1 2 3"` // 1:当前搜索数据 2:当前选择数据 3:全部数据
Id string `json:"id" form:"id" label:"id"` // 选择数据的id逗号分隔当type为2时必填
Mobile string `json:"mobile" form:"mobile" label:"手机号"`
UserName string `json:"user_name" form:"user_name" label:"用户名"`
ExamineTime string `json:"examine_time" form:"examine_time" label:"审核日期"` // 时间区间数组形式下标0为开始时间下标1为结束时间
PaymentTime string `json:"payment_time" form:"payment_time" label:"财务打款时间"` // 时间区间数组形式下标0为开始时间下标1为结束时间
ExamineStatus *int `json:"examine_status" form:"examine_status" label:"审核状态"` // 1:审核中 2:审核通过 3:审核未通过)
PaymentStatus *int `json:"payment_status" form:"payment_status" label:"打款状态"` // 财务打款状态0:否 1:是)
}
// DoctorWithdrawalOrderExportList 提现详情-关联订单-导出
type DoctorWithdrawalOrderExportList struct {
Type int `json:"type" form:"type" label:"类型" validate:"required,oneof=1 2 3"` // 1:当前搜索数据 2:当前选择数据 3:全部数据
Id string `json:"id" form:"id" label:"id"` // 选择数据的id逗号分隔当type为2时必填
WithdrawalId string `json:"withdrawal_id" form:"withdrawal_id" validate:"required" label:"withdrawal_id"`
}