16 lines
430 B
Go
16 lines
430 B
Go
package system
|
|
|
|
type Annc struct {
|
|
Idx uint64 `json:"idx" `
|
|
Title string `json:"title" binding:"required" `
|
|
Version string `json:"version" binding:"required" `
|
|
Model uint `json:"model" binding:"required" `
|
|
Type uint `json:"type" binding:"required"`
|
|
IsEffect uint `json:"is_effect"`
|
|
Content string `json:"content" binding:"required" `
|
|
}
|
|
|
|
func (this Annc) TableName() string {
|
|
return "t_login_annc"
|
|
}
|