- 新增 8 张数据库表: points_account/rule/transaction/product/order/checkin + offline_event/registration - SeaORM Entity: 8 个实体,含完整 Relation 定义 - DTO: 积分规则/商品/订单/签到/线下活动请求响应类型 - Service: FIFO 积分消费、每日打卡(连续奖励)、商品兑换(QR码核销)、线下活动报名 - Handler: 16 个 API 端点 (患者端10 + 管理端6) - 权限: health.points.list / health.points.manage - 12个月滚动过期机制 - 审计日志全量覆盖
27 lines
642 B
Rust
27 lines
642 B
Rust
pub mod appointment;
|
|
pub mod article;
|
|
pub mod consultation_message;
|
|
pub mod consultation_session;
|
|
pub mod dialysis_record;
|
|
pub mod doctor_profile;
|
|
pub mod doctor_schedule;
|
|
pub mod follow_up_record;
|
|
pub mod follow_up_task;
|
|
pub mod health_record;
|
|
pub mod health_trend;
|
|
pub mod lab_report;
|
|
pub mod patient;
|
|
pub mod patient_doctor_relation;
|
|
pub mod patient_family_member;
|
|
pub mod patient_tag;
|
|
pub mod patient_tag_relation;
|
|
pub mod vital_signs;
|
|
pub mod points_account;
|
|
pub mod points_checkin;
|
|
pub mod points_order;
|
|
pub mod points_product;
|
|
pub mod points_rule;
|
|
pub mod points_transaction;
|
|
pub mod offline_event;
|
|
pub mod offline_event_registration;
|