<?php

class AttachmentAsetPajak extends Phalcon\Mvc\Model
{
    /**
     *
     * @var integer
     */
    public $id;
    /**
     *
     * @var integer
     */
    public $tipe_submodul;
    /**
     *
     * @var integer
     */
    public $data_id;
    /**
     *
     * @var integer
     */
    public $attachment_id;
    /**
     *
     * @var datetime
     */
    public $created_at;
    /**
     *
     * @var datetime
     */
    public $updated_at;
    /**
     *
     * @var datetime
     */
    public $deleted_at;

    const SUB_MODUL_ASET_SERTIFIKASI = 1;
    const SUB_MODUL_ASET_PENERTIBAN = 2;
    const SUB_MODUL_ASET_PENERTIBAN_SARPRAS = 3;
    const SUB_MODUL_PAJAK_CAPAIAN = 4;
    const SUB_MODUL_PAJAK_PENAGIHAN = 5;
    const SUB_MODUL_PAJAK_TUNGGAKAN = 6;
    const SUB_MODUL_ASET_SERTIFIKASI_TARGET = 7;

    /**
     * Initialize method for model.
     */
    public function initialize()
    {
        $this->setSchema('jaga');
        $this->setSource('attachment_aset_pajak');
    }

    /**
     * Returns table name mapped in the model.
     *
     * @return string
     */
    public function getSource()
    {
        return 'attachment_aset_pajak';
    }

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

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

?>