From 39cab08a97474a738083bd90051649c9bd05c653 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A5=B6=E7=A7=8B=E9=9C=96?= <3435598628@qq.com> Date: Sat, 30 Nov 2024 20:34:55 +0800 Subject: [PATCH] B --- src/main/java/com/hnucm/c202201020141/Doctor2.java | 10 ++++++++++ src/main/java/com/hnucm/c202201020141/Medicine.java | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/src/main/java/com/hnucm/c202201020141/Doctor2.java b/src/main/java/com/hnucm/c202201020141/Doctor2.java index 7a42e18..c8c4f72 100644 --- a/src/main/java/com/hnucm/c202201020141/Doctor2.java +++ b/src/main/java/com/hnucm/c202201020141/Doctor2.java @@ -1,4 +1,14 @@ package com.hnucm.c202201020141; +import java.util.List; + public class Doctor2 { + public List departments; + + public static class DepartmentsDTO { + public String Doctor; + public String Expert; + public String Cost; + public String Picture; + } } diff --git a/src/main/java/com/hnucm/c202201020141/Medicine.java b/src/main/java/com/hnucm/c202201020141/Medicine.java index c829a5b..7c5c737 100644 --- a/src/main/java/com/hnucm/c202201020141/Medicine.java +++ b/src/main/java/com/hnucm/c202201020141/Medicine.java @@ -1,4 +1,14 @@ package com.hnucm.c202201020141; +import java.util.List; + public class Medicine { + public List departments; + + public static class DepartmentsDTO { + public String Doctor; + public String Expert; + public String Cost; + public String Picture; + } }