chore: address pull request review issues

This commit is contained in:
2026-04-13 14:21:22 +02:00
parent 2e61cde742
commit 926ae5055c
11 changed files with 74 additions and 175 deletions

View File

@@ -5,7 +5,6 @@ import "time"
type SpecificPrice struct {
ID uint64 `gorm:"primaryKey;autoIncrement" json:"id"`
Name string `gorm:"type:varchar(255);not null" json:"name"`
Scope string `gorm:"type:varchar(20);not null" json:"scope"`
ValidFrom *time.Time `gorm:"null" json:"valid_from"`
ValidTill *time.Time `gorm:"null" json:"valid_till"`
HasExpirationDate bool `gorm:"default:false" json:"has_expiration_date"`