alert usecases & repository methods
This commit is contained in:
parent
16d38bb3cf
commit
0e73841b3e
5 changed files with 191 additions and 0 deletions
12
internal/entities/alert.go
Normal file
12
internal/entities/alert.go
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
package entities
|
||||
|
||||
import "github.com/shopspring/decimal"
|
||||
|
||||
type AlertID string
|
||||
|
||||
type Alert struct {
|
||||
ID AlertID
|
||||
UserID UserID
|
||||
Price decimal.Decimal
|
||||
Instrument Instrument
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue