From 0f8d214dbaf6ef42fa49ede84b0039f05185aa1f Mon Sep 17 00:00:00 2001 From: heshunme Date: Sun, 14 Jul 2024 13:16:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=94=A8=E6=88=B7=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=95=B0=E6=8D=AE=E7=B1=BB=EF=BC=8C=E7=94=A8=E4=BA=8E?= =?UTF-8?q?=E6=B8=B2=E6=9F=93=E4=B8=AA=E4=BA=BA=E4=BB=8B=E7=BB=8D=E9=A6=96?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/web/web_assignment/UserInfo.java | 80 +++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 src/main/java/com/web/web_assignment/UserInfo.java diff --git a/src/main/java/com/web/web_assignment/UserInfo.java b/src/main/java/com/web/web_assignment/UserInfo.java new file mode 100644 index 0000000..8f4a0fd --- /dev/null +++ b/src/main/java/com/web/web_assignment/UserInfo.java @@ -0,0 +1,80 @@ +package com.web.web_assignment; + +public class UserInfo { + private String name; + private String introduction; + private String interests; + private String experiences; + private String skills; + private String careerGoals; + + public UserInfo(String name, String introduction, String interests, String experiences, String skills, String careerGoals) { + this.name = name; + this.introduction = introduction; + this.interests = interests; + this.experiences = experiences; + this.skills = skills; + this.careerGoals = careerGoals; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getIntroduction() { + return introduction; + } + + public void setIntroduction(String introduction) { + this.introduction = introduction; + } + + public String getInterests() { + return interests; + } + + public void setInterests(String interests) { + this.interests = interests; + } + + public String getExperiences() { + return experiences; + } + + public void setExperiences(String experiences) { + this.experiences = experiences; + } + + public String getSkills() { + return skills; + } + + public void setSkills(String skills) { + this.skills = skills; + } + + public String getCareerGoals() { + return careerGoals; + } + + public void setCareerGoals(String careerGoals) { + this.careerGoals = careerGoals; + } + + + @Override + public String toString() { + return "UserInfo{" + + "username='" + name + '\'' + + ", introduction='" + introduction + '\'' + + ", interests='" + interests + '\'' + + ", experiences='" + experiences + '\'' + + ", skills='" + skills + '\'' + + ", careerGoals='" + careerGoals + '\'' + + '}'; + } +} \ No newline at end of file