dto

package
v0.0.0-...-66f1e8c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachmentCreateDto

type AttachmentCreateDto struct {
	SystemId   string                  `form:"systemId" query:"systemId" json:"systemId" binding:"required"`
	TemplateId string                  `form:"templateId" query:"templateId" json:"templateId" binding:"required"`
	Ref        string                  `form:"ref" query:"ref" json:"ref" binding:"required"`
	Files      []*multipart.FileHeader `form:"files" binding:"required"`
}

type AttachmentCreatePresenter

type AttachmentCreatePresenter struct {
	Message string `json:"message"`
}

type AttachmentDeleteDto

type AttachmentDeleteDto struct {
	SystemId   string `form:"systemId" query:"systemId" json:"systemId" binding:"required"`
	TemplateId string `form:"templateId" query:"templateId" json:"templateId" binding:"required"`
	Ref        string `form:"ref" query:"ref" json:"ref" binding:"required"`
}

type AttachmentDeletePresenter

type AttachmentDeletePresenter struct {
	Message string `json:"message"`
}

type AttachmentFindDto

type AttachmentFindDto struct {
	SystemId   string `form:"systemId" query:"systemId" json:"systemId" binding:"required"`
	TemplateId string `form:"templateId" query:"templateId" json:"templateId" binding:"required"`
	Ref        string `form:"ref" query:"ref" json:"ref" binding:"required"`
}

type AttachmentFindPresenter

type AttachmentFindPresenter struct {
	Files []domain.File `bson:"paths"`
}

type AttachmentUpdateDto

type AttachmentUpdateDto struct {
	SystemId   string                  `form:"systemId"  query:"systemId"  json:"systemId" binding:"required"`
	TemplateId string                  `form:"templateId"  query:"templateId"  json:"templateId" binding:"required"`
	Ref        string                  `form:"ref"  query:"ref"  json:"ref" binding:"required"`
	Files      []*multipart.FileHeader `form:"files"`
}

type AttachmentUpdatePresenter

type AttachmentUpdatePresenter struct {
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL