Created
December 25, 2020 09:25
-
-
Save deeev-sb/8d537a0a3ea4cef56969b402617fa2eb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// java/hello/hellospring/domain/Member.java | |
package hello.hellospring.domain; | |
public class Member { | |
private Long id; // 시스템이 저장하는 ID | |
private String name; // 회원 이름 | |
// 단순하게 쉬운 예제로 하기 위해 getter, setter 사용 | |
public Long getId() { | |
return id; | |
} | |
public void setId(Long id) { | |
this.id = id; | |
} | |
public String getName() { | |
return name; | |
} | |
public void setName(String name) { | |
this.name = name; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment