1:N
1:N
N:N
smart_locker_rent_order_coupon
user_balance_change
N:N
store
预约打位/课程
smart_locker_item
booking_place_order
place_stock
booking_order_place
market_package_card建卡项
用户持卡与核销
store_golf_place
建卡
coupon_info
booking_course_order
booking_order_coupon
user_register_info
package_card_coupon
智能储物柜 寄存
user_package_card_content
place_config
package_card_sale
user_package_card_consume消费记录
package_card_pay
售卡
package_card_sale售卡
coupon_config_info
N:1
smart_locker_rent_order_follow_info
smart_locker
场地与库存
smart_golf_club_order_coupon
N
consume_order_id + consume_order_type(多态关联)
1:1
city
market_package_card_limit_time
market_package_card_content
智能储物柜 租赁
booking_order_pay
market_package_card_apply_location(market_package_card_id,store_id,city_id)维护卡项可售城市门店
market_package_card_holiday_unavailable维护节假日不可用卡
coupon_user_bind
store_place_price_config
user_package_card
holiday_restriction节假日
smart_locker_rent_order_pay
smart_golf_club_order
market_package_card_sellable_location(market_package_card_id,store_id,city_id)维护卡项可售城市门店
优惠券配置/绑定/使用业务
smart_golf_club_order_pay
extra
order_id
smart_locker_rent_order_item
卡项管理(建卡,售卡)
smart_locker_rent_order
user_card_freeze_record
只适用无人门店订单和库存的绑定
place_stock_order