Skip to content

Instantly share code, notes, and snippets.

@otoloye
Created April 12, 2018 18:53
Show Gist options
  • Save otoloye/23b21fb1e35b020d234d6728c9d47503 to your computer and use it in GitHub Desktop.
Save otoloye/23b21fb1e35b020d234d6728c9d47503 to your computer and use it in GitHub Desktop.
package com.otoloye.RestWithSpringBoot.model;
import java.util.Date;
public class Package {
private Integer id;
private String name;
private Date installed;
private String packageAuthor;
private String license;
public Package() {
}
public Package(Integer id, String name, Date installed, String packageAuthor, String license) {
this.id = id;
this.name = name;
this.installed = installed;
this.packageAuthor = packageAuthor;
this.license = license;
}
public Integer getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Date getInstalled() {
return installed;
}
public void setInstalled(Date installed) {
this.installed = installed;
}
public String getPackageAuthor() {
return packageAuthor;
}
public void setPackageAuthor(String packageAuthor) {
this.packageAuthor = packageAuthor;
}
public String getLicense() {
return license;
}
public void setLicense(String license) {
this.license = license;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment