17 lines
430 B
Go
17 lines
430 B
Go
package model
|
|
|
|
import "time"
|
|
|
|
type DMail struct {
|
|
Body string `json:"body"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
FromId int `json:"from_id"`
|
|
Id int `json:"id"`
|
|
IsDeleted bool `json:"is_deleted"`
|
|
IsRead bool `json:"is_read"`
|
|
OwnerId int `json:"owner_id"`
|
|
Title string `json:"title"`
|
|
ToId int `json:"to_id"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
}
|