# coding: utf-8

"""
    竹园污水项目

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

    The version of the OpenAPI document: 1.0.0
    Generated by: https://openapi-generator.tech
"""


import pprint
import re  # noqa: F401

import six

from dhicn_zyws_service.configuration import Configuration


class PrincipleInfoWithGrade(object):
    """NOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    """

    """
    Attributes:
      openapi_types (dict): The key is attribute name
                            and the value is attribute type.
      attribute_map (dict): The key is attribute name
                            and the value is json key in definition.
    """
    openapi_types = {
        'id': 'str',
        'item_name': 'str',
        'zhuyuan_sewage_plant_1': 'float',
        'zhuyuan_sewage_plant_2': 'float',
        'zhuyuan_sewage_plant_3': 'float',
        'zhuyuan_sewage_plant_4': 'float',
        'zhuyuan_storage_pond': 'float',
        'sort': 'int',
        'is_fixed': 'bool',
        'principle_id': 'str',
        'scenario_id': 'str'
    }

    attribute_map = {
        'id': 'id',
        'item_name': 'itemName',
        'zhuyuan_sewage_plant_1': 'zhuyuan_sewage_plant_1',
        'zhuyuan_sewage_plant_2': 'zhuyuan_sewage_plant_2',
        'zhuyuan_sewage_plant_3': 'zhuyuan_sewage_plant_3',
        'zhuyuan_sewage_plant_4': 'zhuyuan_sewage_plant_4',
        'zhuyuan_storage_pond': 'zhuyuan_storage_pond',
        'sort': 'sort',
        'is_fixed': 'isFixed',
        'principle_id': 'principleId',
        'scenario_id': 'scenarioId'
    }

    def __init__(self, id=None, item_name=None, zhuyuan_sewage_plant_1=None, zhuyuan_sewage_plant_2=None, zhuyuan_sewage_plant_3=None, zhuyuan_sewage_plant_4=None, zhuyuan_storage_pond=None, sort=None, is_fixed=None, principle_id=None, scenario_id=None, local_vars_configuration=None):  # noqa: E501
        """PrincipleInfoWithGrade - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._item_name = None
        self._zhuyuan_sewage_plant_1 = None
        self._zhuyuan_sewage_plant_2 = None
        self._zhuyuan_sewage_plant_3 = None
        self._zhuyuan_sewage_plant_4 = None
        self._zhuyuan_storage_pond = None
        self._sort = None
        self._is_fixed = None
        self._principle_id = None
        self._scenario_id = None
        self.discriminator = None

        if id is not None:
            self.id = id
        self.item_name = item_name
        if zhuyuan_sewage_plant_1 is not None:
            self.zhuyuan_sewage_plant_1 = zhuyuan_sewage_plant_1
        if zhuyuan_sewage_plant_2 is not None:
            self.zhuyuan_sewage_plant_2 = zhuyuan_sewage_plant_2
        if zhuyuan_sewage_plant_3 is not None:
            self.zhuyuan_sewage_plant_3 = zhuyuan_sewage_plant_3
        if zhuyuan_sewage_plant_4 is not None:
            self.zhuyuan_sewage_plant_4 = zhuyuan_sewage_plant_4
        if zhuyuan_storage_pond is not None:
            self.zhuyuan_storage_pond = zhuyuan_storage_pond
        if sort is not None:
            self.sort = sort
        if is_fixed is not None:
            self.is_fixed = is_fixed
        if principle_id is not None:
            self.principle_id = principle_id
        if scenario_id is not None:
            self.scenario_id = scenario_id

    @property
    def id(self):
        """Gets the id of this PrincipleInfoWithGrade.  # noqa: E501

        原则项Id  # noqa: E501

        :return: The id of this PrincipleInfoWithGrade.  # noqa: E501
        :rtype: str
        """
        return self._id

    @id.setter
    def id(self, id):
        """Sets the id of this PrincipleInfoWithGrade.

        原则项Id  # noqa: E501

        :param id: The id of this PrincipleInfoWithGrade.  # noqa: E501
        :type: str
        """

        self._id = id

    @property
    def item_name(self):
        """Gets the item_name of this PrincipleInfoWithGrade.  # noqa: E501

        原则项名称  # noqa: E501

        :return: The item_name of this PrincipleInfoWithGrade.  # noqa: E501
        :rtype: str
        """
        return self._item_name

    @item_name.setter
    def item_name(self, item_name):
        """Sets the item_name of this PrincipleInfoWithGrade.

        原则项名称  # noqa: E501

        :param item_name: The item_name of this PrincipleInfoWithGrade.  # noqa: E501
        :type: str
        """

        self._item_name = item_name

    @property
    def zhuyuan_sewage_plant_1(self):
        """Gets the zhuyuan_sewage_plant_1 of this PrincipleInfoWithGrade.  # noqa: E501

        竹园一厂  # noqa: E501

        :return: The zhuyuan_sewage_plant_1 of this PrincipleInfoWithGrade.  # noqa: E501
        :rtype: float
        """
        return self._zhuyuan_sewage_plant_1

    @zhuyuan_sewage_plant_1.setter
    def zhuyuan_sewage_plant_1(self, zhuyuan_sewage_plant_1):
        """Sets the zhuyuan_sewage_plant_1 of this PrincipleInfoWithGrade.

        竹园一厂  # noqa: E501

        :param zhuyuan_sewage_plant_1: The zhuyuan_sewage_plant_1 of this PrincipleInfoWithGrade.  # noqa: E501
        :type: float
        """

        self._zhuyuan_sewage_plant_1 = zhuyuan_sewage_plant_1

    @property
    def zhuyuan_sewage_plant_2(self):
        """Gets the zhuyuan_sewage_plant_2 of this PrincipleInfoWithGrade.  # noqa: E501

        提标改造  # noqa: E501

        :return: The zhuyuan_sewage_plant_2 of this PrincipleInfoWithGrade.  # noqa: E501
        :rtype: float
        """
        return self._zhuyuan_sewage_plant_2

    @zhuyuan_sewage_plant_2.setter
    def zhuyuan_sewage_plant_2(self, zhuyuan_sewage_plant_2):
        """Sets the zhuyuan_sewage_plant_2 of this PrincipleInfoWithGrade.

        提标改造  # noqa: E501

        :param zhuyuan_sewage_plant_2: The zhuyuan_sewage_plant_2 of this PrincipleInfoWithGrade.  # noqa: E501
        :type: float
        """

        self._zhuyuan_sewage_plant_2 = zhuyuan_sewage_plant_2

    @property
    def zhuyuan_sewage_plant_3(self):
        """Gets the zhuyuan_sewage_plant_3 of this PrincipleInfoWithGrade.  # noqa: E501

        升级补量  # noqa: E501

        :return: The zhuyuan_sewage_plant_3 of this PrincipleInfoWithGrade.  # noqa: E501
        :rtype: float
        """
        return self._zhuyuan_sewage_plant_3

    @zhuyuan_sewage_plant_3.setter
    def zhuyuan_sewage_plant_3(self, zhuyuan_sewage_plant_3):
        """Sets the zhuyuan_sewage_plant_3 of this PrincipleInfoWithGrade.

        升级补量  # noqa: E501

        :param zhuyuan_sewage_plant_3: The zhuyuan_sewage_plant_3 of this PrincipleInfoWithGrade.  # noqa: E501
        :type: float
        """

        self._zhuyuan_sewage_plant_3 = zhuyuan_sewage_plant_3

    @property
    def zhuyuan_sewage_plant_4(self):
        """Gets the zhuyuan_sewage_plant_4 of this PrincipleInfoWithGrade.  # noqa: E501

        竹园四期  # noqa: E501

        :return: The zhuyuan_sewage_plant_4 of this PrincipleInfoWithGrade.  # noqa: E501
        :rtype: float
        """
        return self._zhuyuan_sewage_plant_4

    @zhuyuan_sewage_plant_4.setter
    def zhuyuan_sewage_plant_4(self, zhuyuan_sewage_plant_4):
        """Sets the zhuyuan_sewage_plant_4 of this PrincipleInfoWithGrade.

        竹园四期  # noqa: E501

        :param zhuyuan_sewage_plant_4: The zhuyuan_sewage_plant_4 of this PrincipleInfoWithGrade.  # noqa: E501
        :type: float
        """

        self._zhuyuan_sewage_plant_4 = zhuyuan_sewage_plant_4

    @property
    def zhuyuan_storage_pond(self):
        """Gets the zhuyuan_storage_pond of this PrincipleInfoWithGrade.  # noqa: E501

        调蓄池  # noqa: E501

        :return: The zhuyuan_storage_pond of this PrincipleInfoWithGrade.  # noqa: E501
        :rtype: float
        """
        return self._zhuyuan_storage_pond

    @zhuyuan_storage_pond.setter
    def zhuyuan_storage_pond(self, zhuyuan_storage_pond):
        """Sets the zhuyuan_storage_pond of this PrincipleInfoWithGrade.

        调蓄池  # noqa: E501

        :param zhuyuan_storage_pond: The zhuyuan_storage_pond of this PrincipleInfoWithGrade.  # noqa: E501
        :type: float
        """

        self._zhuyuan_storage_pond = zhuyuan_storage_pond

    @property
    def sort(self):
        """Gets the sort of this PrincipleInfoWithGrade.  # noqa: E501

        排序  # noqa: E501

        :return: The sort of this PrincipleInfoWithGrade.  # noqa: E501
        :rtype: int
        """
        return self._sort

    @sort.setter
    def sort(self, sort):
        """Sets the sort of this PrincipleInfoWithGrade.

        排序  # noqa: E501

        :param sort: The sort of this PrincipleInfoWithGrade.  # noqa: E501
        :type: int
        """

        self._sort = sort

    @property
    def is_fixed(self):
        """Gets the is_fixed of this PrincipleInfoWithGrade.  # noqa: E501

        是否可修改  # noqa: E501

        :return: The is_fixed of this PrincipleInfoWithGrade.  # noqa: E501
        :rtype: bool
        """
        return self._is_fixed

    @is_fixed.setter
    def is_fixed(self, is_fixed):
        """Sets the is_fixed of this PrincipleInfoWithGrade.

        是否可修改  # noqa: E501

        :param is_fixed: The is_fixed of this PrincipleInfoWithGrade.  # noqa: E501
        :type: bool
        """

        self._is_fixed = is_fixed

    @property
    def principle_id(self):
        """Gets the principle_id of this PrincipleInfoWithGrade.  # noqa: E501


        :return: The principle_id of this PrincipleInfoWithGrade.  # noqa: E501
        :rtype: str
        """
        return self._principle_id

    @principle_id.setter
    def principle_id(self, principle_id):
        """Sets the principle_id of this PrincipleInfoWithGrade.


        :param principle_id: The principle_id of this PrincipleInfoWithGrade.  # noqa: E501
        :type: str
        """

        self._principle_id = principle_id

    @property
    def scenario_id(self):
        """Gets the scenario_id of this PrincipleInfoWithGrade.  # noqa: E501


        :return: The scenario_id of this PrincipleInfoWithGrade.  # noqa: E501
        :rtype: str
        """
        return self._scenario_id

    @scenario_id.setter
    def scenario_id(self, scenario_id):
        """Sets the scenario_id of this PrincipleInfoWithGrade.


        :param scenario_id: The scenario_id of this PrincipleInfoWithGrade.  # noqa: E501
        :type: str
        """

        self._scenario_id = scenario_id

    def to_dict(self):
        """Returns the model properties as a dict"""
        result = {}

        for attr, _ in six.iteritems(self.openapi_types):
            value = getattr(self, attr)
            if isinstance(value, list):
                result[attr] = list(map(
                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
                    value
                ))
            elif hasattr(value, "to_dict"):
                result[attr] = value.to_dict()
            elif isinstance(value, dict):
                result[attr] = dict(map(
                    lambda item: (item[0], item[1].to_dict())
                    if hasattr(item[1], "to_dict") else item,
                    value.items()
                ))
            else:
                result[attr] = value

        return result

    def to_str(self):
        """Returns the string representation of the model"""
        return pprint.pformat(self.to_dict())

    def __repr__(self):
        """For `print` and `pprint`"""
        return self.to_str()

    def __eq__(self, other):
        """Returns true if both objects are equal"""
        if not isinstance(other, PrincipleInfoWithGrade):
            return False

        return self.to_dict() == other.to_dict()

    def __ne__(self, other):
        """Returns true if both objects are not equal"""
        if not isinstance(other, PrincipleInfoWithGrade):
            return True

        return self.to_dict() != other.to_dict()
