Documentation
¶
Index ¶
- type BookingDTO
- type BookingSourceDTO
- type CaptchaResponse
- type CaseTaskDTO
- type CaseTaskDetailDTO
- type CategoryDTO
- type DataListResponse
- type DataRequest
- type DataResponse
- type GetBookingListRequest
- type GetBookingSourceListRequest
- type GetCaseTaskListRequest
- type GetCategoryListRequest
- type GetDataListRequest
- type GetUserListRequest
- type LoginRequest
- type LoginResponse
- type PageDTO
- type RefreshTokenRequest
- type RefreshTokenResponse
- type RegisterRequest
- type UserDTO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookingDTO ¶
type BookingDTO struct { Id string `json:"id"` Title string `json:"title"` Content string `json:"content"` UserId string `json:"user_id"` BookingUser UserDTO `json:"booking_user"` BookingSourceId string `json:"booking_source_id"` BookingSource BookingSourceDTO `json:"booking_source"` Status string `json:"status"` BookingStartTime int64 `json:"booking_start_time"` BookingEndTime *int64 `json:"booking_end_time"` }
type BookingSourceDTO ¶
type BookingSourceDTO struct { Id string `json:"id"` Name string `json:"name"` CategoryId string `json:"category_id"` Category CategoryDTO `json:"category"` }
type CaptchaResponse ¶
type CaseTaskDTO ¶
type CaseTaskDTO struct { Id string `json:"id"` Name string `json:"name"` CaseTime int64 `json:"case_time"` Content string `json:"content"` CategoryId string `json:"category_id"` UserId string `json:"user_id"` CaseUser UserDTO `json:"case_user"` Status string `json:"status"` CaseTaskDetails []CaseTaskDetailDTO `json:"case_task_details"` }
type CaseTaskDetailDTO ¶
type CaseTaskDetailDTO struct { Id string `json:"id"` CaseTaskId string `json:"case_task_id"` Name string `json:"name"` CaseTime int64 `json:"case_time"` ExpirationTime *int64 `json:"expiration_time"` ExpirationDays int32 `json:"expiration_days"` Content string `json:"content"` UserId string `json:"user_id"` CaseUser UserDTO `json:"case_user"` Status string `json:"status"` }
type CategoryDTO ¶
type DataListResponse ¶
type DataRequest ¶
type DataRequest[T any] struct { Data T `json:"data"` }
type DataResponse ¶
type DataResponse[T any] struct { Data T `json:"data"` }
type GetBookingListRequest ¶
type GetCaseTaskListRequest ¶
type GetCategoryListRequest ¶
type GetDataListRequest ¶
type GetUserListRequest ¶
type LoginRequest ¶
type LoginResponse ¶
type RefreshTokenRequest ¶
type RefreshTokenRequest struct {
RefreshToken string `json:"refresh_token"`
}
type RefreshTokenResponse ¶
type RegisterRequest ¶
Click to show internal directories.
Click to hide internal directories.