-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
YolandaCho
committed
Jul 18, 2019
1 parent
35d0b7a
commit 87e03c3
Showing
6 changed files
with
81 additions
and
53 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,32 @@ | ||
package com.song.demo; | ||
|
||
import java.io.Serializable; | ||
import java.util.List; | ||
|
||
/** | ||
* Created by song on 2017/2/16. | ||
*/ | ||
|
||
public class User implements Serializable { | ||
private String userid; | ||
private String password; | ||
public class User<M> implements Serializable { | ||
|
||
public String getUserid() { | ||
return userid; | ||
private String userName; | ||
|
||
private List<M> rows; | ||
|
||
public String getUserName() { | ||
return userName; | ||
} | ||
|
||
public void setUserid(String userid) { | ||
this.userid = userid; | ||
public void setUserName(String userName) { | ||
this.userName = userName; | ||
} | ||
|
||
public String getPassword() { | ||
return password; | ||
|
||
public List<M> getRows() { | ||
return rows; | ||
} | ||
|
||
public void setPassword(String password) { | ||
this.password = password; | ||
public void setRows(List<M> rows) { | ||
this.rows = rows; | ||
} | ||
} |
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
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