/* * Copyright (C) 2014 Intel Corporation * All rights reserved. */ package com.intel.mtwilson.user.management.rest.v2.model; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import com.intel.dcsg.cpg.io.UUID; import com.intel.mtwilson.jaxrs2.Document; import java.util.Locale; /** id uuid NOT NULL, username character varying(255) NOT NULL, locale character varying(8) NOT NULL, comment text DEFAULT NULL, * * @author jbuhacoff */ @JacksonXmlRootElement(localName="user") public class User extends Document{ private UUID id; private String username; private Locale locale; private String comment; @Override public UUID getId() { return id; } @Override public void setId(UUID id) { this.id = id; } public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } public Locale getLocale() { return locale; } public void setLocale(Locale locale) { this.locale = locale; } public String getComment() { return comment; } public void setComment(String comment) { this.comment = comment; } }