AnonSec Team
Server IP : 127.0.0.1  /  Your IP : 127.0.0.1
Web Server : Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3
System : Windows NT WIN-R7LTCC7BPLI 6.3 build 9200 (Windows Server 2012 R2 Datacenter Edition) i586
User : GerbangSIPAD ( 0)
PHP Version : 5.6.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF
Directory (0777) :  C:/xampp5/htdocs/bhumie/upload/../protected/models/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : C:/xampp5/htdocs/bhumie/upload/../protected/models/TtrSppt.php
<?php

/**
 * This is the model class for table "pbb.sppt_simulasi".
 *
 * The followings are the available columns in table 'pbb.sppt_simulasi':
 * @property string $kd_propinsi
 * @property string $kd_dati2
 * @property string $kd_kecamatan
 * @property string $kd_kelurahan
 * @property string $kd_blok
 * @property string $no_urut
 * @property string $kd_jns_op
 * @property string $thn_pajak_sppt
 * @property integer $siklus_sppt
 * @property string $kd_kanwil
 * @property string $kd_kantor
 * @property string $kd_tp
 * @property string $nm_wp_sppt
 * @property string $jln_wp_sppt
 * @property string $blok_kav_no_wp_sppt
 * @property string $rw_wp_sppt
 * @property string $rt_wp_sppt
 * @property string $kelurahan_wp_sppt
 * @property string $kota_wp_sppt
 * @property string $kd_pos_wp_sppt
 * @property string $npwp_sppt
 * @property string $no_persil_sppt
 * @property string $kd_kls_tanah
 * @property string $thn_awal_kls_tanah
 * @property string $kd_kls_bng
 * @property string $thn_awal_kls_bng
 * @property string $tgl_jatuh_tempo_sppt
 * @property string $luas_bumi_sppt
 * @property string $luas_bng_sppt
 * @property string $njop_bumi_sppt
 * @property string $njop_bng_sppt
 * @property string $njop_sppt
 * @property integer $njoptkp_sppt
 * @property string $pbb_terhutang_sppt
 * @property string $faktor_pengurang_sppt
 * @property string $pbb_yg_harus_dibayar_sppt
 * @property string $status_pembayaran_sppt
 * @property string $status_tagihan_sppt
 * @property string $status_cetak_sppt
 * @property string $tgl_terbit_sppt
 * @property string $tgl_cetak_sppt
 * @property string $nip_pencetak_sppt
 * @property integer $createdby
 * @property string $createdtime
 * @property integer $updatedby
 * @property string $updatedtime
 */
class TtrSppt extends CBhumieRecord
{
	/**
	 * Returns the static model of the specified AR class.
	 * @param string $className active record class name.
	 * @return SpptSimulasi the static model class
	 */
	public static function model($className=__CLASS__)
	{
		return parent::model($className);
	}

	/**
	 * @return string the associated database table name
	 */
	public function tableName()
	{
		return 'pbb.ttr_sppt';
	}

	/**
	 * @return array validation rules for model attributes.
	 */
	public function rules()
	{
		// NOTE: you should only define rules for those attributes that
		// will receive user inputs.
		return array(
			array('kd_propinsi, kd_dati2, kd_kecamatan, kd_kelurahan, kd_blok, no_urut, kd_jns_op, thn_pajak_sppt, createdby, createdtime, updatedby, updatedtime', 'required'),
			array('createdby, updatedby', 'numerical', 'integerOnly'=>true),
			array('kd_propinsi, kd_dati2', 'length', 'max'=>2),
			array('kd_kecamatan, kd_kelurahan, kd_blok', 'length', 'max'=>3),
			array('no_urut, thn_pajak_sppt', 'length', 'max'=>4),
			array('kd_jns_op', 'length', 'max'=>1),
			array('nm_yg_menerima_sppt', 'length', 'max'=>30),
			array('nip_rekam_ttr_sppt', 'length', 'max'=>18),
			array('tgl_rekam_ttr_sppt, tgl_terima_wp_sppt', 'safe'),
			// The following rule is used by search().
			// Please remove those attributes that should not be searched.
			array('kd_propinsi, kd_dati2, kd_kecamatan, kd_kelurahan, kd_blok, no_urut, kd_jns_op, thn_pajak_sppt, tgl_terima_wp_sppt, nm_yg_menerima_sppt, tgl_rekam_ttr_sppt, nip_rekam_ttr_sppt, createdby, createdtime, updatedby, updatedtime', 'safe', 'on'=>'search'),
		);
	}

	/**
	 * @return array relational rules.
	 */
	public function relations()
	{
		// NOTE: you may need to adjust the relation name and the related
		// class name for the relations automatically generated below.
		return array(
		);
	}

	/**
	 * @return array customized attribute labels (name=>label)
	 */
	public function attributeLabels()
	{
		return array(
			'kd_propinsi' => 'Kd Propinsi',
			'kd_dati2' => 'Kd Dati2',
			'kd_kecamatan' => 'Kd Kecamatan',
			'kd_kelurahan' => 'Kd Kelurahan',
			'kd_blok' => 'Kd Blok',
			'no_urut' => 'No Urut',
			'kd_jns_op' => 'Kd Jns Op',
			'thn_pajak_sppt' => 'Thn Pajak Sppt',
			'tgl_terima_wp_sppt' => 'tgl_terima_wp_sppt',
			'nm_yg_menerima_sppt' => 'nm_yg_menerima_sppt',
			'tgl_rekam_ttr_sppt' => 'tgl_rekam_ttr_sppt',
			'nip_rekam_ttr_sppt' => 'nip_rekam_ttr_sppt',
			'createdby' => 'Createdby',
			'createdtime' => 'Createdtime',
			'updatedby' => 'Updatedby',
			'updatedtime' => 'Updatedtime',
		);
	}

	/**
	 * Retrieves a list of models based on the current search/filter conditions.
	 * @return CActiveDataProvider the data provider that can return the models based on the search/filter conditions.
	 */
	public function search()
	{
		// Warning: Please modify the following code to remove attributes that
		// should not be searched.

		$criteria=new CDbCriteria;

		$criteria->compare('kd_propinsi',$this->kd_propinsi,true);
		$criteria->compare('kd_dati2',$this->kd_dati2,true);
		$criteria->compare('kd_kecamatan',$this->kd_kecamatan,true);
		$criteria->compare('kd_kelurahan',$this->kd_kelurahan,true);
		$criteria->compare('kd_blok',$this->kd_blok,true);
		$criteria->compare('no_urut',$this->no_urut,true);
		$criteria->compare('kd_jns_op',$this->kd_jns_op,true);
		$criteria->compare('thn_pajak_sppt',$this->thn_pajak_sppt,true);
		

		return new CActiveDataProvider($this, array(
			'criteria'=>$criteria,
		));
	}
}

AnonSec - 2021