Add some new ideas.

This commit is contained in:
Gerhard Hoffmann 2023-12-12 12:14:54 +01:00
parent 08e89df5a5
commit db7fe35095

View File

@ -29,27 +29,27 @@
"pme_label": "steps" "pme_label": "steps"
} }
], ],
"TimeBasis": [ "TimeBase": [
{ {
"tb_id": 1, "tbase_type": 0,
"tb_label": "absolute time" "tbase_label": "absolute time"
}, },
{ {
"tb_id": 2, "tbase_id": 1,
"tb_label": "relative time" "tbase_label": "relative time"
} }
], ],
"Customer": [ "Customer": [
{ {
"cust_id": 1, "cust_type": 1,
"cust_label": "Adult" "cust_label": "Adult"
}, },
{ {
"cust_id": 2, "cust_type": 2,
"cust_label": "Child" "cust_label": "Child"
}, },
{ {
"cust_id": 3, "cust_type": 3,
"cust_label": "Teen" "cust_label": "Teen"
} }
], ],
@ -71,19 +71,7 @@
], ],
"PaymentRate": [ "PaymentRate": [
{ {
"pra_payment_option_id": 1049, "pop_comment":"Unused"
"pra_payment_unit_id": 1,
"pra_price": 900
},
{
"pra_payment_option_id": 1049,
"pra_payment_unit_id": 2,
"pra_price": 1500
},
{
"pra_payment_option_id": 1049,
"pra_payment_unit_id": 3,
"pra_price": 3000
} }
], ],
"DailyTicket": [ "DailyTicket": [
@ -91,30 +79,44 @@
"daily_ticket_payment_option_id": 1049, "daily_ticket_payment_option_id": 1049,
"daily_ticket_unit_id": 1, "daily_ticket_unit_id": 1,
"daily_ticket_price": 400, "daily_ticket_price": 400,
"daily_ticket_tb_id": 1,
"daily_ticket_clearance_id": [3], "daily_ticket_tbase_type": 0,
"daily_ticket_tbase_type_comment": "0: absolute, 1: relative to offset",
"daily_ticket_clearance_type": [3],
"daily_ticket_clearance_type_comment": "who is allowed to buy ticket",
"daily_ticket_from_min": "00:00:00", "daily_ticket_from_min": "00:00:00",
"daily_ticket_to_max": "00:00:00", "daily_ticket_to_max": "00:00:00",
"daily_ticket_absolute_comment": "time ranges if time base is absolute",
"daily_ticket_from_offset_min": 0, "daily_ticket_from_offset_min": 0,
"daily_ticket_to_offset_max": 0 "daily_ticket_to_offset_max": 0,
"daily_ticket_relative_comment": "offsets if time base is realtive"
}, },
{ {
"daily_ticket_payment_option_id": 1049, "daily_ticket_payment_option_id": 1049,
"daily_ticket_unit_id": 2, "daily_ticket_unit_id": 2,
"daily_ticket_price": 800, "daily_ticket_price": 800,
"daily_ticket_tb_id": 1,
"daily_ticket_clearance_id": [1], "daily_ticket_tbase_type": 1,
"daily_ticket_tbase_type_comment": "0: absolute, 1: relative to offset",
"daily_ticket_clearance_type": [1],
"daily_ticket_clearance_type_comment": "who is allowed to buy ticket",
"daily_ticket_from_min": "00:00:00", "daily_ticket_from_min": "00:00:00",
"daily_ticket_to_max": "00:00:00", "daily_ticket_to_max": "00:00:00",
"daily_ticket_absolute_comment": "time ranges if time base is absolute",
"daily_ticket_from_offset_min": 0, "daily_ticket_from_offset_min": 0,
"daily_ticket_to_offset_max": 0 "daily_ticket_to_offset_max": 0,
"daily_ticket_relative_comment": "offsets if time base is realtive"
} }
], ],
"Duration": [ "Duration": [
{ {
"pun_id": 1, "pun_comment":"Unused"
"pun_label": "Tagesticket",
"pun_duration": 720
} }
], ],
"WeekDaysWorktime": [ "WeekDaysWorktime": [