Remove IsValid and add ValidTo field for ItemPrice entity
This commit is contained in:
parent
6c70cc1881
commit
2eb7ccdaf4
|
@ -13,7 +13,7 @@ type ItemPrice struct {
|
||||||
Item *Item
|
Item *Item
|
||||||
Price uint64
|
Price uint64
|
||||||
ValidFrom time.Time
|
ValidFrom time.Time
|
||||||
IsValid bool `gorm:"default:true"`
|
ValidTo time.Time
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user