Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Example ¶
type Example struct {
UUID string `json:"uuid"` // Record ID
Code string `json:"code" binding:"required"` // Code
Name string `json:"name" binding:"required"` // Name
Memo string `json:"memo"` // Remarks
Status int `json:"status" binding:"required,max=2,min=1"` // Status (1: Enable 2: Disable)
Creator string `json:"creator"` // Creator
CreatedAt time.Time `json:"created_at"` // Creation time
}
Example - Example object
type ExampleQueryOptions ¶
type ExampleQueryOptions struct {
PageParam *schema.PaginationParam // Paging parameter
}
ExampleQueryOptions - Example object query optional parameter item
type ExampleQueryParam ¶
type ExampleQueryParam struct {
Code string // CODE
Status int // Status (1: Enable 2: Disable)
LikeCode string // Number (fuzzy query)
LikeName string // Name (fuzzy query)
}
ExampleQueryParam - Query conditions
type ExampleQueryResult ¶
type ExampleQueryResult struct {
Data []*Example
PageResult *schema.PaginationResult
}
ExampleQueryResult - Example object query result
Click to show internal directories.
Click to hide internal directories.