100 lines
1.3 KiB
Java
100 lines
1.3 KiB
Java
class LoginData
|
|
{
|
|
private String email;
|
|
private String pwass;
|
|
public String getEmail()
|
|
{
|
|
return email;
|
|
}
|
|
public void setEmail(String Email)
|
|
{
|
|
email=Email;
|
|
}
|
|
public String getPass()
|
|
{
|
|
return pwass;
|
|
}
|
|
public void setPass(String Pwass)
|
|
{
|
|
pwass=Pwass;
|
|
}
|
|
}
|
|
|
|
class RegisterData extends LoginData
|
|
{
|
|
private String nickname;
|
|
private String school;
|
|
|
|
public String getNickname()
|
|
{
|
|
return nickname;
|
|
}
|
|
public void setNickname(String Nickname)
|
|
{
|
|
nickname=Nickname;
|
|
}
|
|
public String getSchool()
|
|
{
|
|
return school;
|
|
}
|
|
public void setSchool(String School)
|
|
{
|
|
school=School;
|
|
}
|
|
}
|
|
|
|
class UploadData
|
|
{
|
|
private String bookname;
|
|
private String author;
|
|
private String context;
|
|
private String imageURL;
|
|
|
|
public String getBookname()
|
|
{
|
|
return bookname;
|
|
}
|
|
public void setBookname(String Bookname)
|
|
{
|
|
bookname=Bookname;
|
|
}
|
|
public String getAuthor()
|
|
{
|
|
return author;
|
|
}
|
|
public void setAuthor(String Author)
|
|
{
|
|
author=Author;
|
|
}
|
|
public String getContext()
|
|
{
|
|
return context;
|
|
}
|
|
public void setContext(String Context)
|
|
{
|
|
context=Context;
|
|
}
|
|
public String getImageURL()
|
|
{
|
|
return imageURL;
|
|
}
|
|
public void setImageURL(String ImageURL)
|
|
{
|
|
imageURL=ImageURL;
|
|
}
|
|
}
|
|
|
|
class FetchData extends UploadData
|
|
{
|
|
private String label;
|
|
|
|
public String getLabel()
|
|
{
|
|
return label;
|
|
}
|
|
public void setLabel(String Label)
|
|
{
|
|
label=Label;
|
|
}
|
|
}
|