Hub-Api/models/license.go

15 lines
307 B
Go
Raw Normal View History

2024-05-27 23:06:25 +03:30
package models
import "time"
type License struct {
License_id uint `gorm:"primaryKey"`
Plan_id uint
Plan Plan `gorm:"references:Plan_id"`
ExpireDate time.Time
NumberOfRenewals uint
2024-05-27 23:06:25 +03:30
Created_at time.Time
Modified_at time.Time
Modified_by string
Is_removed bool `gorm:"default:false"`
}