mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-14 11:58:02 +00:00
dc56e298ae
* fix: use domain models for v2 eventstore * fix: user domain model * Update internal/api/grpc/admin/login_policy_converter.go Co-authored-by: Livio Amstutz <livio.a@gmail.com> * fix: converter Co-authored-by: Livio Amstutz <livio.a@gmail.com>
15 lines
222 B
Go
15 lines
222 B
Go
package domain
|
|
|
|
import "github.com/caos/zitadel/internal/eventstore/models"
|
|
|
|
type Machine struct {
|
|
models.ObjectRoot
|
|
|
|
Name string
|
|
Description string
|
|
}
|
|
|
|
func (sa *Machine) IsValid() bool {
|
|
return sa.Name != ""
|
|
}
|