<?php
namespace SRVX\Model;
use Phalcon\Mvc\Model;


class SelfSupportForSchoolInfo extends BasicModel
{

    /**
     *
     * @var integer
     */
    public $id;

    /**
     *
     * @var int
     */
    public $enterprise_id;

    /**
     *
     * @var string
     */
    public $school_code;

    /**
     *
     * @var string
     */
    public $school_std_code;

    /**
     *
     * @var string
     */
    public $group_key;

    /**
     *
     * @var string
     */
    public $memo;

    /**
     *
     * @var string
     */
    public $updated_at;

    /**
     *
     * @var string
     */
    public $deleted_at;

    /**
     * Initialize method for model.
     */
    public function initialize()
    {
        parent::initialize();
        $this->setSource("self_support_for_school_info");
    }

    /**
     * Allows to query a set of records that match the specified conditions
     *
     * @param mixed $parameters
     * @return SelfSupportForSchoolInfo[]|SelfSupportForSchoolInfo|\Phalcon\Mvc\Model\ResultSetInterface
     */
    public static function find($parameters = null): \Phalcon\Mvc\Model\ResultsetInterface
    {
        return parent::find($parameters);
    }

    /**
     * Allows to query the first record that match the specified conditions
     *
     * @param mixed $parameters
     * @return SelfSupportForSchoolInfo|\Phalcon\Mvc\Model\ResultInterface|\Phalcon\Mvc\ModelInterface|null
     */
    public static function findFirst($parameters = null): ?\Phalcon\Mvc\ModelInterface
    {
        return parent::findFirst($parameters);
    }

}
