// Code generated by the FlatBuffers compiler. DO NOT EDIT.

package order

import "strconv"

type Relation int8

const (
	RelationUNKNOWN Relation = 0
	RelationWAR     Relation = 1
	RelationPEACE   Relation = 2
)

var EnumNamesRelation = map[Relation]string{
	RelationUNKNOWN: "UNKNOWN",
	RelationWAR:     "WAR",
	RelationPEACE:   "PEACE",
}

var EnumValuesRelation = map[string]Relation{
	"UNKNOWN": RelationUNKNOWN,
	"WAR":     RelationWAR,
	"PEACE":   RelationPEACE,
}

func (v Relation) String() string {
	if s, ok := EnumNamesRelation[v]; ok {
		return s
	}
	return "Relation(" + strconv.FormatInt(int64(v), 10) + ")"
}
