com
.
atomizesoftware
.
spin
.
models
Price
case class
Price
(
id:
Long
=
1
,
code:
String
,
contractId:
Long
,
movementTypeId:
Long
,
price:
BigDecimal
,
description:
Option
[
String
]
,
archived:
Boolean
,
fieldsToUpdateInDatabase:
Seq
[
String
] =
Seq()
,
syncTimestamp:
Long
=
0L
,
contract:
Option
[
Contract
] =
None
,
movementType:
Option
[
MovementType
] =
None
)
extends
BaseModel
with
SyncTimestamp
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
SyncTimestamp
,
BaseModel
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
Price
Serializable
Serializable
Product
Equals
SyncTimestamp
BaseModel
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
Price
(
id:
Long
=
1
,
code:
String
,
contractId:
Long
,
movementTypeId:
Long
,
price:
BigDecimal
,
description:
Option
[
String
]
,
archived:
Boolean
,
fieldsToUpdateInDatabase:
Seq
[
String
] =
Seq()
,
syncTimestamp:
Long
=
0L
,
contract:
Option
[
Contract
] =
None
,
movementType:
Option
[
MovementType
] =
None
)
Type Members
type
T
=
Price
Definition Classes
Price
→
BaseModel
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
val
allFields
:
Seq
[
String
]
Definition Classes
Price
→
BaseModel
val
archived
:
Boolean
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
chooseAllFieldsForUpdate
:
T
Definition Classes
BaseModel
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
code
:
String
val
contract
:
Option
[
Contract
]
val
contractId
:
Long
def
copy
(
id:
Long
=
id
,
code:
String
=
code
,
contractId:
Long
=
contractId
,
movementTypeId:
Long
=
movementTypeId
,
price:
BigDecimal
=
price
,
description:
Option
[
String
] =
description
,
archived:
Boolean
=
archived
,
fieldsToUpdateInDatabase:
Seq
[
String
] =
fieldsToUpdateInDatabase
,
syncTimestamp:
Long
=
syncTimestamp
,
contract:
Option
[
Contract
] =
contract
,
movementType:
Option
[
MovementType
] =
movementType
)
:
Price
val
description
:
Option
[
String
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
fieldsToTrack
(
currentValues:
Seq
[
Any
]
,
copyValues:
Seq
[
Any
]
,
oldFields:
Seq
[
String
]
)
:
Seq
[
String
]
Attributes
protected
Definition Classes
BaseModel
val
fieldsToUpdateInDatabase
:
Seq
[
String
]
Definition Classes
Price
→
BaseModel
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
val
id
:
Long
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
movementType
:
Option
[
MovementType
]
val
movementTypeId
:
Long
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
price
:
BigDecimal
val
syncTimestamp
:
Long
Definition Classes
Price
→
SyncTimestamp
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
updateAllFields
:
Boolean
Definition Classes
BaseModel
def
updateOnly
(
fields:
Option
[
Seq
[
String
]] =
None
)
:
T
Definition Classes
BaseModel
def
updateThese
(
fields:
Seq
[
String
]
)
:
Price
Definition Classes
Price
→
BaseModel
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
SyncTimestamp
Inherited from
BaseModel
Inherited from
AnyRef
Inherited from
Any
Ungrouped