mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 19:14:23 +00:00
19 lines
305 B
Go
19 lines
305 B
Go
|
package model
|
||
|
|
||
|
import (
|
||
|
"github.com/caos/zitadel/internal/eventstore/models"
|
||
|
)
|
||
|
|
||
|
type LabelPolicy struct {
|
||
|
models.ObjectRoot
|
||
|
|
||
|
State PolicyState
|
||
|
Default bool
|
||
|
PrimaryColor string
|
||
|
SecondaryColor string
|
||
|
}
|
||
|
|
||
|
func (p *LabelPolicy) IsValid() bool {
|
||
|
return p.ObjectRoot.AggregateID != ""
|
||
|
}
|