Set the value of [amount] column.

@param int $v new value
@return $this|\eXpansion\Framework\GameCurrencyBundle\Model\Gamecurrency The current object (for fluent API support)
965965
public function setAmount($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->amount !== $v) {
            $this->amount = $v;
            $this->modifiedColumns[GamecurrencyTableMap::COL_AMOUNT] = true;
        }

        return $this;
    }
59759
public function setImageRatio($v)
    {
        if ($v !== null) {
            $v = (double) $v;
        }

        if ($this->image_ratio !== $v) {
            $this->image_ratio = $v;
            $this->modifiedColumns[FeatureTypeTableMap::IMAGE_RATIO] = true;
        }


        return $this;
    }
542457
public function setId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->id !== $v) {
            $this->id = $v;
            $this->modifiedColumns[PersonTableMap::ID] = true;
        }


        return $this;
    }
1367373
public function setId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->id !== $v) {
            $this->id = $v;
            $this->modifiedColumns[PersonImageI18nTableMap::ID] = true;
        }

        if ($this->aPersonImage !== null && $this->aPersonImage->getId() !== $v) {
            $this->aPersonImage = null;
        }


        return $this;
    }
1240574
public function setVolume($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->volume !== $v) {
            $this->volume = $v;
            $this->modifiedColumns[ReferenceTableMap::COL_VOLUME] = true;
        }

        return $this;
    }
603248
public function setEn($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->en !== $v) {
            $this->en = $v;
            $this->modifiedColumns[] = CountryPeer::EN;
        }


        return $this;
    }
172162
public function setThumbsize($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->thumbsize !== $v) {
            $this->thumbsize = $v;
            $this->modifiedColumns[MediaTableMap::COL_THUMBSIZE] = true;
        }

        return $this;
    }
738382
public function setId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->id !== $v) {
            $this->id = $v;
            $this->modifiedColumns[DealerAdminVersionTableMap::ID] = true;
        }

        if ($this->aDealerAdmin !== null && $this->aDealerAdmin->getId() !== $v) {
            $this->aDealerAdmin = null;
        }


        return $this;
    }
1174021
public function setType($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->type !== $v) {
            $this->type = $v;
            $this->modifiedColumns[LogTableMap::COL_TYPE] = true;
        }

        return $this;
    }
92721
public function setId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->id !== $v) {
            $this->id = $v;
            $this->modifiedColumns[DealerContentVersionTableMap::ID] = true;
        }

        if ($this->aDealerContent !== null && $this->aDealerContent->getId() !== $v) {
            $this->aDealerContent = null;
        }


        return $this;
    }
1062966
public function setMin($v)
    {
        if ($v !== null) {
            $v = (double) $v;
        }

        if ($this->min !== $v) {
            $this->min = $v;
            $this->modifiedColumns[AttributeTypeTableMap::MIN] = true;
        }


        return $this;
    }
312619
public function setImportance($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->importance !== $v) {
            $this->importance = $v;
            $this->modifiedColumns[SkillTableMap::COL_IMPORTANCE] = true;
        }

        return $this;
    }
282067
public function setEntity($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->entity !== $v) {
            $this->entity = $v;
            $this->modifiedColumns[IndexEngineIndexVersionTableMap::ENTITY] = true;
        }

        return $this;
    }
1083639
public function setNumber($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->number !== $v) {
            $this->number = $v;
            $this->modifiedColumns[ReferenceTableMap::COL_NUMBER] = true;
        }

        return $this;
    }
893282
public function setAmount($value)
    {
        if (empty($value)) {
            $this->currentObject->setAmount(null);
        } elseif ($value instanceof AmountInterface) {
            if ($value->getValue() > 0.0) {
                $this->currentObject->setAmount($value->getValue());
            }
            $this->currentObject->setCurrency($value->getCurrency());
        } else {
            $this->currentObject->setAmount($value);
        }
        return $this;
    }
1042660
public function setSkillCount($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->skill_count !== $v) {
            $this->skill_count = $v;
            $this->modifiedColumns[GroupTableMap::COL_SKILL_COUNT] = true;
        }

        return $this;
    }
1071248
public function setTransactionid($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->transactionid !== $v) {
            $this->transactionid = $v;
            $this->modifiedColumns[GamecurrencyTableMap::COL_TRANSACTIONID] = true;
        }

        return $this;
    }