--- html: embed_local_images: false embed_svg: true offline: false toc: false print_background: false export_on_save: html: true --- # 系统枚举定义 ## 用户域 ### user_state (用户状态) - open: 开启 - close: 关闭 ### user_gender (用户性别) - male: 男 - female: 女 ### user_type (用户类型) - normal: 普通用户 - vip: VIP 用户 - merchant: 商户 - operator: 运营人员 - admin: 管理员 ### feedback_type (反馈类型) - suggestion: 建议反馈 - complaint: 投诉反馈 - consultation: 咨询反馈 - malfunction: 故障反馈 - other: 其他反馈 ### feedback_state (反馈状态) - pending: 待处理 - processing: 处理中 - processed: 已处理 ## 技师域 ### technician_state (技师状态) - pending: 待认证 - active: 正常服务 - suspended: 暂停服务 - blacklist: 黑名单 - terminated: 已终止 ### technician_work_state (技师工作状态) - rest: 休息 - free: 空闲 - busy: 忙碌 ### technician_virtual_state (技师虚拟状态) - open: 开启 - close: 关闭 ### technician_auth_state (技师认证状态) - auditing: 审核中 - passed: 审核通过 - rejected: 审核拒绝 ### technician_level (技师等级) - trainee: 实习技师 - junior: 初级技师 - intermediate: 中级技师 - senior: 高级技师 - expert: 专家技师 - master: 大师级技师 ### technician_exp_source (技师经验来源) - order: 订单 - overtime: 加钟 - comment: 评价 - promotion: 推广 ### technician_alarm_type (技师报警类型) - emergency: 紧急求助 - harassment: 骚扰投诉 - dispute: 纠纷 - other: 其他 ### technician_location_type (技师定位类型) - current: 当前定位 - common: 常用定位 ### shop_contract_state (店铺签约状态) - signing: 签约中 - signed: 已签约 - terminated: 已解约 ## 订单域 ### order_type (订单类型) - visit: 上门 - grab: 抢单 - overtime: 加钟 - shop: 到店 - emergency: 应急 ### order_source (订单来源) - platform: 平台 - shop: 店铺 ### order_state (订单状态) - pending: 待处理 - processing: 处理中 - completed: 已完成 - cancelled: 已取消 ### order_distribution_type (订单分销类型) - platform: 平台分销 - shop: 店铺分销 - personal: 个人分销 - team: 团队分销 ### order_distribution_object (订单分销对象) - technician: 技师 - shop: 店铺 - agent: 代理商 - promoter: 推广员 ### order_record_state (订单记录状态) - created: 创建订单 - paid: 支付完成 - assigned: 已分配技师 - arrived: 技师到达 - started: 开始服务 - completed: 服务完成 - evaluated: 已评价 - cancelled: 已取消 ### order_exception_state (订单异常状态) - pending: 待处理 - processing: 处理中 - resolved: 已解决 - cancelled: 已取消 ### grab_order_state (抢单状态) - pending: 待抢单 - grabbed: 已抢单 - expired: 已过期 ### comment_state (评论状态) - pending: 待评论 - commented: 已评论 ## 财务域 ### wallet_type (钱包类型) - platform: 平台自有资金钱包 - escrow: 平台代收代付钱包 - personal: 个人钱包 - merchant: 商户钱包 ### transaction_type (交易类型) - recharge: 充值 - withdraw: 提现 - payment: 支付 - refund: 退款 - commission: 佣金 - bonus: 奖励 - penalty: 罚款 ### transaction_direction (交易方向) - in: 收入 - out: 支出 ### recharge_source (充值来源) - wechat: 微信 - alipay: 支付宝 - bank: 银行卡 - other: 其他 ### recharge_type (充值类型) - normal: 普通充值 - first: 首充 - activity: 活动充值 - gift: 赠送 ### recharge_state (充值状态) - pending: 待充值 - processing: 充值中 - success: 充值成功 - failed: 充值失败 ### withdraw_method (提现方式) - wechat: 微信 - alipay: 支付宝 - bank: 银行卡 ### withdraw_state (提现状态) - pending: 待处理 - processing: 处理中 - success: 提现成功 - failed: 提现失败 ### withdraw_audit_state (提现审核状态) - pending: 待审核 - passed: 审核通过 - rejected: 审核拒绝 - cancelled: 已取消 ### payment_method (支付方式) - wechat: 微信支付 - alipay: 支付宝 - balance: 余额支付 - mixed: 混合支付 ### payment_state (支付状态) - pending: 待支付 - paid: 已支付 - cancelled: 已取消 ### refund_method (退款方式) - original: 原路退回 - balance: 退回余额 - manual: 人工处理 ### refund_state (退款状态) - pending: 待退款 - processing: 退款中 - success: 退款成功 - failed: 退款失败 ### profit_source (分账来源) - order: 订单分账 - promotion: 推广分账 - team: 团队分账 - other: 其他 ### profit_type (分账类型) - platform: 平台分账 - shop: 店铺分账 - technician: 技师分账 - agent: 代理商分账 - promoter: 推广员分账 ## 营销域 ### marketing_type (营销类型) - coupon: 优惠券 - discount: 折扣 - cashback: 返现 - gift: 赠品 ### marketing_state (营销状态) - pending: 未开始 - processing: 进行中 - ended: 已结束 ### coupon_type (优惠券类型) - fixed: 固定金额 - percent: 折扣比例 - free: 免费券 ### coupon_scope (优惠券使用范围) - all: 全部商品 - category: 分类商品 - specific: 指定商品 ### coupon_rule (优惠券使用规则) - unlimited: 无限制 - first_order: 首单专享 - new_user: 新用户专享 - specified_category: 指定分类 - specified_item: 指定项目 - specified_amount: 满额可用 ### coupon_service_type (优惠券服务类型) - all: 全部服务 - visit: 上门服务 - shop: 到店服务 - overtime: 加钟服务 - specified: 指定服务 ### coupon_valid_type (优惠券有效期类型) - fixed: 固定日期 - dynamic: 领取后计时 - permanent: 永久有效 ### coupon_state (优惠券状态) - unused: 未使用 - used: 已使用 - expired: 已过期 ### marketing_record_state (营销记录状态) - pending: 待使用 - used: 已使用 - expired: 已过期 - cancelled: 已取消 ## 社交域 ### social_platform (社交平台) - wechat: 微信 - weibo: 微博 - douyin: 抖音 - xiaohongshu: 小红书 - other: 其他 ## 系统域 ### sys_state (通用状态) - enable: 启用 - disable: 禁用 ### sys_audit_state (通用审核状态) - pending: 待审核 - passed: 通过 - rejected: 拒绝 ### sys_parameter_type (系统参数类型) - system: 系统参数 - business: 业务参数 - config: 配置参数 - other: 其他参数 ### sys_rule_type (业务规则类型) - order: 订单规则 - commission: 分佣规则 - marketing: 营销规则 - service: 服务规则 - other: 其他规则 ### sys_area_type (区域类型) - province: 省 - city: 市 - district: 区 ### sys_task_type (定时任务类型) - system: 系统任务 - business: 业务任务 - cleanup: 清理任务 - statistics: 统计任务 ### sys_error_strategy (错误策略) - continue: 继续执行 - retry: 重试执行 - skip: 跳过执行 - stop: 停止执行 ### sys_cache_type (缓存类型) - memory: 内存缓存 - redis: Redis 缓存 - local: 本地缓存 - hybrid: 混合缓存 ## 服务域 ### service_range_type (服务范围类型) - circle: 圆形范围 - polygon: 多边形范围 - administrative: 行政区划 ### service_fee_type (服务费用类型) - fixed: 固定费用 - distance: 距离费用 - time: 时间费用 - mixed: 混合计费 ### service_state (服务状态) - available: 可服务 - unavailable: 不可服务 - maintenance: 维护中 ## 店铺域 ### shop_type (店铺类型) - direct: 直营店 - franchise: 加盟店 - cooperation: 合作店 - alliance: 联盟店 ### shop_state (店铺状态) - pending: 待开业 - operating: 营业中 - suspended: 暂停营业 - closed: 已关闭 ### shop_service_state (店铺服务状态) - available: 可预约 - busy: 繁忙中 - unavailable: 不可预约 - maintenance: 维护中