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