Commit 36336a7c authored by 1516160's avatar 1516160

Upload New File

parent 9810999e
package com.altimetrik.playground.candidate.assessment.entity;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "product")
public class Product {
private String prodname;
@Id
private Integer prodId;
private double price;
public String getProdname() {
return prodname;
}
public void setProdname(String prodname) {
this.prodname = prodname;
}
public int getProdId() {
return prodId;
}
public void setProdId(int prodId) {
this.prodId = prodId;
}
public double getPrice() {
return price;
}
public void setPrice(double price) {
this.price = price;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment