14 lines
510 B
Go
14 lines
510 B
Go
package model
|
|
|
|
type Firewall struct {
|
|
ID int64 `json:"id" xorm:"id"`
|
|
CreatedAt int64 `json:"createdAt" xorm:"created_at"`
|
|
UpdatedAt int64 `json:"updatedAt" xorm:"updated_at"`
|
|
Type string `json:"type" xorm:"type"`
|
|
Port string `json:"port" xorm:"port"`
|
|
Protocol string `json:"protocol" xorm:"protocol"`
|
|
Address string `json:"address" xorm:"address"`
|
|
Strategy string `json:"strategy" xorm:"strategy"`
|
|
Description string `json:"description" xorm:"description"`
|
|
}
|