Remove IsValid and add ValidTo field for ItemPrice entity

This commit is contained in:
qowevisa 2024-11-01 22:54:11 +02:00
parent 6c70cc1881
commit 2eb7ccdaf4

View File

@ -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 (