You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
404 B
16 lines
404 B
package model |
|
|
|
// OrderReport order(manual) report model |
|
type OrderReport struct { |
|
ID int32 `json:"id"` |
|
OrderID int64 `json:"order_id"` |
|
Name string `json:"name"` |
|
Content string `json:"content"` |
|
UpdateBy string `json:"update_by" column:"update_by"` |
|
Active int32 `json:"active"` |
|
} |
|
|
|
// TableName get table name model |
|
func (w OrderReport) TableName() string { |
|
return "order_report" |
|
}
|
|
|