| | |
| | | @Column(name = "company_address") |
| | | private String companyAddress; |
| | | |
| | | @Column(name = "seniority") |
| | | private String seniority; |
| | | @Column(name = "seniority_year") |
| | | private Long seniorityYear; |
| | | |
| | | @Column(name = "seniority_month") |
| | | private Long seniorityMonth; |
| | | |
| | | @Column(name = "concept") |
| | | private String concept; |
| | |
| | | |
| | | @Column(name = "communication_style") |
| | | private String communicationStyle; |
| | | |
| | | @Column(name = "email") |
| | | private String email; |
| | | |
| | | public Long getId() { |
| | | return id; |
| | |
| | | companyAddress = companyAddress; |
| | | } |
| | | |
| | | public String getSeniority() { |
| | | return seniority; |
| | | public Long getSeniorityYear() { |
| | | return seniorityYear; |
| | | } |
| | | |
| | | public void setSeniority(String seniority) { |
| | | this.seniority = seniority; |
| | | public void setSeniorityYear(Long seniorityYear) { |
| | | this.seniorityYear = seniorityYear; |
| | | } |
| | | |
| | | public Long getSeniorityMonth() { |
| | | return seniorityMonth; |
| | | } |
| | | |
| | | public void setSeniorityMonth(Long seniorityMonth) { |
| | | this.seniorityMonth = seniorityMonth; |
| | | } |
| | | |
| | | public String getSeniorityDTOString() { |
| | | final String seniorityYearString = this.seniorityYear != 0 ? this.seniorityYear + " 年 " : ""; |
| | | final String seniorityMonthString = this.seniorityMonth != 0 ? this.seniorityMonth + " 月" : ""; |
| | | |
| | | return seniorityYearString + seniorityMonthString; |
| | | } |
| | | |
| | | public String getConcept() { |
| | |
| | | this.communicationStyle = communicationStyle; |
| | | } |
| | | |
| | | public String getEmail() { |
| | | return email; |
| | | } |
| | | |
| | | public void setEmail(String email) { |
| | | this.email = email; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "Consultant{" + |
| | |
| | | ", gender=" + gender + |
| | | ", phoneNumber='" + phoneNumber + '\'' + |
| | | ", companyAddress='" + companyAddress + '\'' + |
| | | ", seniority='" + seniority + '\'' + |
| | | ", seniorityYear=" + seniorityYear + |
| | | ", seniorityMonth=" + seniorityMonth + |
| | | ", concept='" + concept + '\'' + |
| | | ", experience='" + experience + '\'' + |
| | | ", award='" + award + '\'' + |
| | | ", recommend=" + recommend + |
| | | ", communicationStyle='" + communicationStyle + '\'' + |
| | | ", email='" + email + '\'' + |
| | | '}'; |
| | | } |
| | | } |