Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Example ¶
type Example struct { entity.Model UUID string `gorm:"column:uuid;size:36;index;"` // UUID code Code *string `gorm:"column:code;size:50;index;"` // Number Name *string `gorm:"column:name;size:100;index;"` // Name Memo *string `gorm:"column:memo;size:200;"` // Remarks Status *int `gorm:"column:status;index;"` // Status (1: Enable 2: Disable) Creator *string `gorm:"column:creator;size:36;"` // Creator }
Example - Example entity
func (Example) ToSchemaExample ¶
ToSchemaExample - Convert to Example object
type Examples ¶
type Examples []*Example
Examples - Example list
func (Examples) ToSchemaExamples ¶
ToSchemaExamples - Convert to Example object list
type SchemaExample ¶
SchemaExample - Example object
func (SchemaExample) ToExample ¶
func (a SchemaExample) ToExample() *Example
ToExample - Convert to Example entity
Click to show internal directories.
Click to hide internal directories.