資料格式 - treatmentCategory === ### Description: 療程的相關資訊 ### 資料格式: | key | type | value | description | |:-------------------- |:------- |:---------- |:----------------------- | | id | Int | 1 | id | | category | String | "雷射健髮" | 療程名稱 | | timeCost | String | "30分鐘" | 花費時間 | | medicalDepartmentId | Int | 2 | 對應的科別id | | treatmentDescription | String | "療程說明" | 療程說明 | | selectable | Boolean | true | 是否可以被選取 | | action | Int | 1 | 1:新增或者更新, 2: 刪除 | ### `範例-新增`: ```json= { "category": "雷射健髮", "timeCost": "30", "medicalDepartmentId": 2, "treatmentDescription": "療程說明", "selectable": true "action": 1 } ``` ### `範例-更新`: ```json= { "id": 1, "category": "雷射健髮", "timeCost": "30", "medicalDepartmentId": 2, "treatmentDescription": "療程說明", "selectable": true "action": 1 } ``` ### `範例-刪除`: ```json= { "id": 1, "category": "雷射健髮", "timeCost": "30", "medicalDepartmentId": 2, "treatmentDescription": "療程說明", "selectable": true "action": 2 } ``` ###### tags: `掛號系統`