adjust upload
This commit is contained in:
No files matched your search
@@ -104,10 +104,14 @@ type UpdateDto struct {
|
||||
type UpdateStatusDto struct {
|
||||
Id uint16 `json:"id"`
|
||||
StatusCode erc.DataStatusCode `json:"status_code"`
|
||||
|
||||
pa.AuthInfo
|
||||
}
|
||||
|
||||
type DeleteDto struct {
|
||||
Id uint16 `json:"id"`
|
||||
|
||||
pa.AuthInfo
|
||||
}
|
||||
|
||||
type MetaDto struct {
|
||||
|
||||
@@ -8,6 +8,7 @@ import (
|
||||
)
|
||||
|
||||
type CreateDto struct {
|
||||
Id *uint `json:"id"`
|
||||
Code *string `json:"code" validate:"maxLength=10"`
|
||||
Name string `json:"name" validate:"maxLength=50"`
|
||||
EncounterClass_Code ere.EncounterClassCode `json:"encounterClass_code" validate:"maxLength=10"`
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
package log
|
||||
|
||||
import (
|
||||
erc "simrs-vx/internal/domain/references/common"
|
||||
)
|
||||
|
||||
type SimxLogDto struct {
|
||||
Payload any `json:"payload"`
|
||||
IsSuccess bool `json:"isSuccess"`
|
||||
ErrMessage *string `json:"errMessage"`
|
||||
Method erc.CrudCode `json:"method"`
|
||||
}
|
||||
Reference in New Issue
Block a user