MSP-5186 Use sql.NullString for description
This commit is contained in:
1 parent
a047fb23dd
commit
9a1e8a7cd4
7 files changed
+52
-30
No files matched your search
+2
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user