Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
467 B
1
Indexable
Never
public class Account {
	
	public int id;
	public String title;
	public String duration;
	public string status;
		
	public Account() {};
	
	public User(int id, String title, String duration,  String status) {
		this.id = id;
		this.title = title;
		this.duration = duration;
		this.status = status;
	}

	@Override
	public String toString() {
		return "Account [id=" + id + ", title=" + title + ", duration=" + duration + ", status=" + status + "]";