Commit 909f7f2d authored by 1516160's avatar 1516160

Upload New File

parent c48abc4a
package com.altimetrik.playground.candidate.assessment.entity;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;
@Entity
@Table(name = "customercart")
public class CustomerCart {
@EmbeddedId
private CustomerCartID id;
private String customerName;
private String prodname;
private double price;
private int quantity;
private char checkOutStatus;
public CustomerCartID getId() {
return id;
}
public void setId(CustomerCartID id) {
this.id = id;
}
public String getCustomerName() {
return customerName;
}
public void setCustomerName(String customerName) {
this.customerName = customerName;
}
public String getProdname() {
return prodname;
}
public void setProdname(String prodname) {
this.prodname = prodname;
}
public double getPrice() {
return price;
}
public void setPrice(double price) {
this.price = price;
}
public int getQuantity() {
return quantity;
}
public void setQuantity(int quantity) {
this.quantity = quantity;
}
public char getCheckOutStatus() {
return checkOutStatus;
}
public void setCheckOutStatus(char checkOutStatus) {
this.checkOutStatus = checkOutStatus;
}
}
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