adjust upload

This commit is contained in:
vanilia
2025-11-14 11:56:10 +07:00
35 changed files with 1176 additions and 204 deletions

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"`
+12
View File
@@ -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"`
}