forked from msvsphere/leapp-repository
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
341 B
18 lines
341 B
from leapp.models import fields, Model
|
|
from leapp.topics import SystemFactsTopic
|
|
|
|
|
|
class User(Model):
|
|
topic = SystemFactsTopic
|
|
|
|
name = fields.String()
|
|
uid = fields.Integer()
|
|
gid = fields.Integer()
|
|
home = fields.String()
|
|
|
|
|
|
class UsersFacts(Model):
|
|
topic = SystemFactsTopic
|
|
|
|
users = fields.List(fields.Model(User))
|