From 1fb0d87b02e2b1ae313432f8b4487c792260bb0d Mon Sep 17 00:00:00 2001 From: pfu2aoslz <2269185321@qq.com> Date: Thu, 6 Jan 2022 21:33:04 +0800 Subject: [PATCH] ADD file via upload --- code/Production.java | 49 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 code/Production.java diff --git a/code/Production.java b/code/Production.java new file mode 100644 index 0000000..dea3f1b --- /dev/null +++ b/code/Production.java @@ -0,0 +1,49 @@ +package com.domain; + +public class Production { + private int pid; + private String price; + private String prom; + private String classify; + private String store; + + public Production() {} + public Production(int pid, String price, String prom, String classify, String store) { + this.pid=pid; + this.price=price; + this.prom=prom; + this.classify=classify; + this.store=store; + } + public int getPid() { + return pid; + } + public void setPid(int pid) { + this.pid = pid; + } + public String getPrice() { + return price; + } + public void setPrice(String price) { + this.price = price; + } + public String getProm() { + return prom; + } + public void setProm(String prom) { + this.prom = prom; + } + public String getClassify() { + return classify; + } + public void setClassify(String classify) { + this.classify = classify; + } + public String getStore() { + return store; + } + public void setStore(String store) { + this.store = store; + } + +}