MSP-5186 Use sql.NullString for description

This commit is contained in:
Синельник Тимур Романович committed 2025-04-03 13:44:31 +03:00
1 parent a047fb23dd
commit 9a1e8a7cd4
7 files changed
+52 -30

No files matched your search

+2 -1
View File
@@ -1,13 +1,14 @@
package entity
import (
"database/sql"
"time"
)
type AppGroup struct {
Id int
Name string
Description *string
Description sql.NullString
DomainId int
CreatedAt time.Time
UpdatedAt time.Time
+2 -1
View File
@@ -1,13 +1,14 @@
package entity
import (
"database/sql"
"time"
)
type Application struct {
Id int
Name string
Description *string
Description sql.NullString
ApplicationGroupId int
Type string
CreatedAt time.Time