mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-04 05:12:16 +00:00
* 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 <[email protected]> * fix: converter Co-authored-by: Livio Amstutz <[email protected]>
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 != ""
|
|
}
|