<commit_before>#ifndef BEEEON_LOCATION_H
#define BEEEON_LOCATION_H

#include <Poco/SharedPtr.h>
#include "model/GlobalID.h"
#include "model/Place.h"
#include "model/Collection.h"

namespace BeeeOn {

/**
 * Representation of a Location application entity.
 */
class Location {
public:
	typedef Poco::SharedPtr<Location> Ptr;
	typedef BeeeOn::Collection<Location> Collection;
	typedef GlobalID ID;

	Location()
	{
	}

	Location(const ID &id):
		m_id(id)
	{
	}

	Location(const Location &copy):
		m_name(copy.m_name)
	{
	}

	Location(const ID &id, const Location &copy):
		m_id(id),
		m_name(copy.m_name)
	{
	}

	void setName(const std::string &name)
	{
		m_name = name;
	}

	const std::string &name() const
	{
		return m_name;
	}

	const ID &id() const
	{
		return m_id;
	}

	/**
	 * Frontend API only.
	 */
	template <typename Serializer>
	void toWeb(Serializer &s) const
	{
		s.push("name", m_name);
	}

	/**
	 * Frontend API only.
	 */
	template <typename Serializer>
	void fromWeb(Serializer &s)
	{
		s.get("name", m_name);
	}

private:
	ID m_id;
	std::string m_name;
};

typedef Location::Collection LocationCollection;
typedef Location::ID LocationID;

}

#endif<commit_msg>Location: all columns to reflect database<commit_after>#ifndef BEEEON_LOCATION_H
#define BEEEON_LOCATION_H

#include <Poco/SharedPtr.h>
#include "model/GlobalID.h"
#include "model/Place.h"
#include "model/Collection.h"

namespace BeeeOn {

/**
 * Representation of a Location application entity.
 */
class Location {
public:
	typedef Poco::SharedPtr<Location> Ptr;
	typedef BeeeOn::Collection<Location> Collection;
	typedef GlobalID ID;

	Location()
	{
	}

	Location(const ID &id):
		m_id(id)
	{
	}

	Location(const Location &copy):
		m_name(copy.m_name),
		m_place(copy.m_place)
	{
	}

	Location(const ID &id, const Location &copy):
		m_id(id),
		m_name(copy.m_name),
		m_place(copy.m_place)
	{
	}

	void setName(const std::string &name)
	{
		m_name = name;
	}

	const std::string &name() const
	{
		return m_name;
	}

	const ID &id() const
	{
		return m_id;
	}

	void setPlace(const Place &place)
	{
		m_place = place;
	}

	const Place &place() const
	{
		return m_place;
	}

	/**
	 * Frontend API only.
	 */
	template <typename Serializer>
	void toWeb(Serializer &s) const
	{
		s.push("name", m_name);
	}

	/**
	 * Frontend API only.
	 */
	template <typename Serializer>
	void fromWeb(Serializer &s)
	{
		s.get("name", m_name);
	}

private:
	ID m_id;
	std::string m_name;
	Place m_place;
};

typedef Location::Collection LocationCollection;
typedef Location::ID LocationID;

}

#endif
{'fraction_non_alphanumeric': 0.13445050662509742, 'fraction_numerical': 0.0, 'mean_word_length': 3.9941634241245136, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5689512', 'n_tokens_mistral': 1054, 'n_tokens_neox': 983, 'n_words': 224}