1
0
mirror of https://github.com/august-alt/gpui.git synced 2025-03-14 12:58:39 +03:00
2023-09-01 16:07:23 +04:00

68 lines
1.8 KiB
C++

/***********************************************************************************************************************
**
** Copyright (C) 2023 BaseALT Ltd. <org@basealt.ru>
**
** This program is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License
** as published by the Free Software Foundation; either version 2
** of the License, or (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
**
***********************************************************************************************************************/
#ifndef SECURITY_LONG_DECIMAL_ELEMENT_H
#define SECURITY_LONG_DECIMAL_ELEMENT_H
#include "security.h"
#include "securityelement.h"
namespace security
{
/*!
* \class LongDecimalElement
* \brief The LongDecimalElement class
*/
class LongDecimalElement: public SecurityElement
{
public:
/*!
* \brief required
*/
bool required { false };
/*!
* \brief sorf
*/
bool soft { false };
/*!
* \brief storeAsText
*/
bool storeAsText { false };
/*!
* \brief minValue
*/
uint64_t minValue { std::numeric_limits<uint64_t>::min() };
/**
* \brief maxValue
*/
uint64_t maxValue { std::numeric_limits<uint64_t>::max() };
};
} // of namespace security
#endif // SECURITY_LONG_DECIMAL_ELEMENT_H