Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Riina Antikainen
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 622427e4
authored
Mar 09, 2010
by
Juho Juopperi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
formatting
1 parent
77536a37
Hide whitespace changes
Inline
Side-by-side
Showing
34 changed files
with
43 additions
and
43 deletions
code/LanBortalDatabase/src/fi/insomnia/bortal/model/AccessRight.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/AccountEvent.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Bill.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/BillLine.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/CardTemplate.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Compo.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/CompoEntry.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/CompoEntryFile.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/CompoEntryParticipant.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Discount.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/DiscountInstance.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Event.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/EventMap.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/EventSettings.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/EventStatus.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/FoodWave.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/FoodWaveTemplate.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/GroupMembership.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Location.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/LogEntry.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/LogEntryType.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/News.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/NewsGroup.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Place.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/PlaceGroup.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/PrintedCard.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Product.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Reader.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/ReaderEvent.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Role.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/RoleRight.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/User.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/UserImage.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Vote.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/AccessRight.java
View file @
622427e
...
...
@@ -31,7 +31,7 @@ import javax.persistence.Version;
public
class
AccessRight
implements
ModelInterface
{
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"access_rights_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/AccountEvent.java
View file @
622427e
...
...
@@ -40,14 +40,14 @@ public class AccountEvent implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"account_events_id"
,
nullable
=
false
)
private
Integer
id
;
@Column
(
name
=
"unit_price"
,
nullable
=
false
,
precision
=
24
,
scale
=
4
)
@Column
(
name
=
"unit_price"
,
nullable
=
false
,
precision
=
24
,
scale
=
4
)
private
BigDecimal
unitPrice
;
@Column
(
name
=
"unit_count"
,
nullable
=
false
,
precision
=
24
,
scale
=
4
)
@Column
(
name
=
"unit_count"
,
nullable
=
false
,
precision
=
24
,
scale
=
4
)
private
BigDecimal
units
;
@Column
(
name
=
"event_time"
,
nullable
=
false
)
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Bill.java
View file @
622427e
...
...
@@ -30,7 +30,7 @@ import javax.persistence.Version;
*/
@Entity
@Table
(
name
=
"bills"
)
@NamedQueries
({
@NamedQueries
(
{
@NamedQuery
(
name
=
"Bill.findAll"
,
query
=
"SELECT b FROM Bill b"
),
// @NamedQuery(name = "Bill.findById", query =
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/BillLine.java
View file @
622427e
...
...
@@ -32,23 +32,23 @@ import javax.persistence.Version;
@NamedQuery
(
name
=
"BillLine.findByVat"
,
query
=
"SELECT b FROM BillLine b WHERE b.vat = :vat"
)
})
public
class
BillLine
implements
ModelInterface
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
BigDecimal
DEFAULT_VAT
=
BigDecimal
.
ZERO
;
private
static
final
BigDecimal
DEFAULT_VAT
=
BigDecimal
.
ZERO
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"bill_lines_id"
,
nullable
=
false
)
private
Integer
id
;
@Column
(
name
=
"name"
,
nullable
=
false
)
private
String
name
;
@Column
(
name
=
"units"
,
nullable
=
false
,
precision
=
24
,
scale
=
4
)
@Column
(
name
=
"units"
,
nullable
=
false
,
precision
=
24
,
scale
=
4
)
private
BigDecimal
units
;
@Column
(
name
=
"unit_price"
,
nullable
=
false
,
precision
=
24
,
scale
=
4
)
@Column
(
name
=
"unit_price"
,
nullable
=
false
,
precision
=
24
,
scale
=
4
)
private
BigDecimal
unitPrice
;
@Column
(
name
=
"vat"
,
nullable
=
false
,
precision
=
3
,
scale
=
2
)
private
BigDecimal
vat
=
DEFAULT_VAT
;
@Column
(
name
=
"vat"
,
nullable
=
false
,
precision
=
3
,
scale
=
2
)
private
BigDecimal
vat
=
DEFAULT_VAT
;
@JoinColumn
(
name
=
"bills_id"
,
referencedColumnName
=
"bills_id"
)
@ManyToOne
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/CardTemplate.java
View file @
622427e
...
...
@@ -33,7 +33,7 @@ import javax.persistence.Version;
public
class
CardTemplate
implements
ModelInterface
{
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"card_templates_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Compo.java
View file @
622427e
...
...
@@ -44,7 +44,7 @@ import javax.persistence.Version;
public
class
Compo
implements
ModelInterface
{
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"compos_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/CompoEntry.java
View file @
622427e
...
...
@@ -42,7 +42,7 @@ import javax.persistence.Version;
public
class
CompoEntry
implements
ModelInterface
{
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"entries_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/CompoEntryFile.java
View file @
622427e
...
...
@@ -38,7 +38,7 @@ import javax.persistence.Version;
public
class
CompoEntryFile
implements
ModelInterface
{
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"entry_files_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/CompoEntryParticipant.java
View file @
622427e
...
...
@@ -30,7 +30,7 @@ public class CompoEntryParticipant implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"entry_participations_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Discount.java
View file @
622427e
...
...
@@ -41,7 +41,7 @@ import javax.persistence.Version;
public
class
Discount
implements
ModelInterface
{
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"discounts_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/DiscountInstance.java
View file @
622427e
...
...
@@ -30,7 +30,7 @@ public class DiscountInstance implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"discounts_instances_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Event.java
View file @
622427e
...
...
@@ -40,7 +40,7 @@ public class Event implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"events_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/EventMap.java
View file @
622427e
...
...
@@ -34,7 +34,7 @@ public class EventMap implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"maps_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/EventSettings.java
View file @
622427e
...
...
@@ -32,7 +32,7 @@ public class EventSettings implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"event_settings_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/EventStatus.java
View file @
622427e
...
...
@@ -33,7 +33,7 @@ public class EventStatus implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"event_status_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/FoodWave.java
View file @
622427e
...
...
@@ -37,7 +37,7 @@ public class FoodWave implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"food_waves_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/FoodWaveTemplate.java
View file @
622427e
...
...
@@ -32,7 +32,7 @@ public class FoodWaveTemplate implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"food_wave_templates_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/GroupMembership.java
View file @
622427e
...
...
@@ -38,7 +38,7 @@ public class GroupMembership implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"group_memberships_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Location.java
View file @
622427e
...
...
@@ -22,7 +22,7 @@ import javax.persistence.Version;
*/
@Entity
@Table
(
name
=
"locations"
)
@NamedQueries
({
@NamedQueries
(
{
@NamedQuery
(
name
=
"Location.findAll"
,
query
=
"SELECT l FROM Location l"
),
@NamedQuery
(
name
=
"Location.findByLocationName"
,
query
=
"SELECT l FROM Location l WHERE l.name = :name"
)
})
...
...
@@ -30,7 +30,7 @@ public class Location implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"locations_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/LogEntry.java
View file @
622427e
...
...
@@ -36,7 +36,7 @@ public class LogEntry implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"event_log_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/LogEntryType.java
View file @
622427e
...
...
@@ -24,7 +24,7 @@ import javax.persistence.Version;
*/
@Entity
@Table
(
name
=
"event_log_types"
)
@NamedQueries
({
@NamedQueries
(
{
@NamedQuery
(
name
=
"LogEntryType.findAll"
,
query
=
"SELECT l FROM LogEntryType l"
),
@NamedQuery
(
name
=
"LogEntryType.findByDescription"
,
query
=
"SELECT l FROM LogEntryType l WHERE l.description = :description"
)
})
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/News.java
View file @
622427e
...
...
@@ -27,7 +27,7 @@ import javax.persistence.Version;
*/
@Entity
@Table
(
name
=
"news"
)
@NamedQueries
({
@NamedQueries
(
{
@NamedQuery
(
name
=
"News.findAll"
,
query
=
"SELECT n FROM News n"
),
@NamedQuery
(
name
=
"News.findByTitle"
,
query
=
"SELECT n FROM News n WHERE n.title = :title"
),
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/NewsGroup.java
View file @
622427e
...
...
@@ -37,13 +37,13 @@ public class NewsGroup implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"news_groups_id"
,
nullable
=
false
)
private
Integer
id
;
@Column
(
name
=
"group_name"
,
nullable
=
false
)
private
String
name
;
@Lob
@Column
(
name
=
"group_description"
)
private
String
description
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Place.java
View file @
622427e
...
...
@@ -36,7 +36,7 @@ public class Place implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"places_id"
,
nullable
=
false
)
private
Integer
id
;
@Lob
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/PlaceGroup.java
View file @
622427e
...
...
@@ -42,7 +42,7 @@ public class PlaceGroup implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"groups_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/PrintedCard.java
View file @
622427e
...
...
@@ -39,7 +39,7 @@ import javax.persistence.Version;
public
class
PrintedCard
implements
ModelInterface
{
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"printed_cards_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Product.java
View file @
622427e
...
...
@@ -39,7 +39,7 @@ public class Product implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"products_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Reader.java
View file @
622427e
...
...
@@ -36,7 +36,7 @@ public class Reader implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"readers_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/ReaderEvent.java
View file @
622427e
...
...
@@ -35,7 +35,7 @@ public class ReaderEvent implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"reader_events_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Role.java
View file @
622427e
...
...
@@ -36,7 +36,7 @@ public class Role implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"roles_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/RoleRight.java
View file @
622427e
...
...
@@ -39,7 +39,7 @@ public class RoleRight implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"role_rights_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/User.java
View file @
622427e
...
...
@@ -50,7 +50,6 @@ public class User implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"users_id"
,
nullable
=
false
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/UserImage.java
View file @
622427e
...
...
@@ -33,7 +33,7 @@ public class UserImage implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"user_images_id"
,
nullable
=
false
)
private
Integer
id
;
...
...
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Vote.java
View file @
622427e
...
...
@@ -36,7 +36,7 @@ public class Vote implements ModelInterface {
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"votes_id"
,
nullable
=
false
)
private
Integer
id
;
@Column
(
name
=
"score"
)
...
...
@@ -70,6 +70,7 @@ public class Vote implements ModelInterface {
public
Integer
getId
()
{
return
id
;
}
@Override
public
void
setId
(
Integer
votesId
)
{
this
.
id
=
votesId
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment