initial commit
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package org.example
|
||||
|
||||
fun main() {
|
||||
println("Hello World!")
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package org.example.model
|
||||
|
||||
import java.math.BigDecimal
|
||||
|
||||
interface Asset {
|
||||
var quantity: BigDecimal
|
||||
var assetType: AssetType
|
||||
var storagePlace: StoragePlace
|
||||
}
|
||||
|
||||
enum class AssetType {
|
||||
TRADING_INSTRUMENT,
|
||||
DEPOSIT;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package org.example.model
|
||||
|
||||
interface StoragePlace {
|
||||
var name: String
|
||||
}
|
||||
Reference in New Issue
Block a user