src/Leevel/Database/Ddd/Entity.php
public function addChanged(array $props): IEntity
    {
        foreach ($props as $prop) {
            if (!in_array($prop, $this->leevelChangedProp, true)) {
                continue;
            }

            $this->leevelChangedProp[] = $prop;
        }

        return $this;
    }
public function addChanged(array $props): IEntity
    {
        foreach ($props as $prop) {
            if (!in_array($prop, $this->leevelChangedProp, true)) {
                continue;
            }

            $this->leevelChangedProp[] = $prop;
        }

        return $this;
    }
将指定的属性设置已改变.

@param array $props

@return $this