Closed Glavin001 closed 10 years ago
Domain model at https://github.com/Streamlyne/api-server/blob/develop/slapi/model.py#L118-L135
class Asset(Document):
'''
'''
name = StringField(required=True, unique=True)
description = StringField()
location = StringField()
component_of = StringField()
model_number = StringField() # More than just numbers
serial_number = StringField() # Some have - inbetween numbers
mfg = StringField()
cost_center = StringField() # Might not need
equipment_status = StringField()
#attributes = ListField(ReferenceField(Attribute))
attributes = ListField(ObjectIdField())
isolation_collections = ListField(EmbeddedDocumentField(IsolationCollection))
Blocked by #8.
The properties for this model are all in Core Data now and any additional CRUD features will be implemented by #10 and #7 and consequently apply to enhancing this.