add userid to drivers licence model

This commit is contained in:
Alex
2025-03-11 20:50:34 +01:00
parent 9a8b386931
commit ef4d3c9576

View File

@@ -6,6 +6,7 @@ import (
type Licence struct { type Licence struct {
ID uint `json:"id"` ID uint `json:"id"`
UserID uint `json:"user_id"`
CreatedAt time.Time CreatedAt time.Time
UpdatedAt time.Time UpdatedAt time.Time
Status int8 `json:"status" binding:"omitempty,number"` Status int8 `json:"status" binding:"omitempty,number"`