Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
ECommerceSystem
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
1516160
ECommerceSystem
Commits
36336a7c
Commit
36336a7c
authored
Aug 04, 2023
by
1516160
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
9810999e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
+40
-0
Product.java
...etrik/playground/candidate/assessment/entity/Product.java
+40
-0
No files found.
src/main/java/com/altimetrik/playground/candidate/assessment/entity/Product.java
0 → 100644
View file @
36336a7c
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
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment