|
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 ] |
|---|
<?php
/**
* This is the model class for table "pbb.his_objek_pajak".
*
* The followings are the available columns in table 'pbb.his_objek_pajak':
* @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 integer $his_indeks_op
* @property string $subjek_pajak_id
* @property integer $his_status_cabang
* @property integer $his_status_wp
* @property string $his_total_luas_bng
* @property string $his_tgl_perekaman_awal
* @property string $his_nip_perekam_op
* @property string $his_no_formulir_spop
* @property string $his_total_luas_bumi
* @property string $his_njop_bumi
* @property string $his_njop_bng
* @property integer $createdby
* @property string $createdtime
* @property integer $updatedby
* @property string $updatedtime
* @property string $his_no_persil
* @property string $his_jalan_op
* @property string $his_blok_kav_no_op
* @property string $his_rt_op
* @property string $his_rw_op
* @property integer $his_status_peta_op
* @property string $his_jns_transaksi_op
* @property string $his_nip_pendata
* @property string $his_tgl_pemeriksa_op
* @property string $his_tgl_pendataan_op
* @property string $his_nip_pemeriksa_op
*/
class HisObjekPajak extends CBhumieRecord
{
public $maxindexpajak;
/**
* Returns the static model of the specified AR class.
* @param string $className active record class name.
* @return HisObjekPajak 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.his_objek_pajak';
}
/**
* @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, his_indeks_op, subjek_pajak_id, his_status_cabang, his_status_wp, his_total_luas_bng, his_tgl_perekaman_awal, his_nip_perekam_op', 'required'),
array('his_indeks_op, his_status_cabang, his_status_wp, his_status_peta_op', 'numerical', 'integerOnly'=>true),
array('kd_propinsi, kd_dati2, his_rw_op', 'length', 'max'=>2),
array('kd_kecamatan, kd_kelurahan, kd_blok, his_rt_op', 'length', 'max'=>3),
array('no_urut', 'length', 'max'=>4),
array('kd_jns_op, his_jns_transaksi_op', 'length', 'max'=>1),
array('subjek_pajak_id, his_jalan_op', 'length', 'max'=>30),
array('his_nip_perekam_op, his_nip_pendata, his_nip_pemeriksa_op', 'length', 'max'=>18),
array('his_no_formulir_spop', 'length', 'max'=>11),
array('his_no_persil', 'length', 'max'=>5),
array('his_blok_kav_no_op', 'length', 'max'=>15),
array('his_total_luas_bumi, his_njop_bumi, his_njop_bng, his_tgl_pemeriksa_op, his_tgl_pendataan_op', '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, his_indeks_op, subjek_pajak_id, his_status_cabang, his_status_wp, his_total_luas_bng, his_tgl_perekaman_awal, his_nip_perekam_op, his_no_formulir_spop, his_total_luas_bumi, his_njop_bumi, his_njop_bng, createdby, createdtime, updatedby, updatedtime, his_no_persil, his_jalan_op, his_blok_kav_no_op, his_rt_op, his_rw_op, his_status_peta_op, his_jns_transaksi_op, his_nip_pendata, his_tgl_pemeriksa_op, his_tgl_pendataan_op, his_nip_pemeriksa_op', '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',
'his_indeks_op' => 'His Indeks Op',
'subjek_pajak_id' => 'Subjek Pajak',
'his_status_cabang' => 'His Status Cabang',
'his_status_wp' => 'His Status Wp',
'his_total_luas_bng' => 'His Total Luas Bng',
'his_tgl_perekaman_awal' => 'His Tgl Perekaman Awal',
'his_nip_perekam_op' => 'His Nip Perekam Op',
'his_no_formulir_spop' => 'His No Formulir Spop',
'his_total_luas_bumi' => 'His Total Luas Bumi',
'his_njop_bumi' => 'His Njop Bumi',
'his_njop_bng' => 'His Njop Bng',
'createdby' => 'Createdby',
'createdtime' => 'Createdtime',
'updatedby' => 'Updatedby',
'updatedtime' => 'Updatedtime',
'his_no_persil' => 'His No Persil',
'his_jalan_op' => 'His Jalan Op',
'his_blok_kav_no_op' => 'His Blok Kav No Op',
'his_rt_op' => 'His Rt Op',
'his_rw_op' => 'His Rw Op',
'his_status_peta_op' => 'His Status Peta Op',
'his_jns_transaksi_op' => 'His Jns Transaksi Op',
'his_nip_pendata' => 'His Nip Pendata',
'his_tgl_pemeriksa_op' => 'His Tgl Pemeriksa Op',
'his_tgl_pendataan_op' => 'His Tgl Pendataan Op',
'his_nip_pemeriksa_op' => 'His Nip Pemeriksa Op',
);
}
/**
* 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('his_indeks_op',$this->his_indeks_op);
$criteria->compare('subjek_pajak_id',$this->subjek_pajak_id,true);
$criteria->compare('his_status_cabang',$this->his_status_cabang);
$criteria->compare('his_status_wp',$this->his_status_wp);
$criteria->compare('his_total_luas_bng',$this->his_total_luas_bng,true);
$criteria->compare('his_tgl_perekaman_awal',$this->his_tgl_perekaman_awal,true);
$criteria->compare('his_nip_perekam_op',$this->his_nip_perekam_op,true);
$criteria->compare('his_no_formulir_spop',$this->his_no_formulir_spop,true);
$criteria->compare('his_total_luas_bumi',$this->his_total_luas_bumi,true);
$criteria->compare('his_njop_bumi',$this->his_njop_bumi,true);
$criteria->compare('his_njop_bng',$this->his_njop_bng,true);
$criteria->compare('createdby',$this->createdby);
$criteria->compare('createdtime',$this->createdtime,true);
$criteria->compare('updatedby',$this->updatedby);
$criteria->compare('updatedtime',$this->updatedtime,true);
$criteria->compare('his_no_persil',$this->his_no_persil,true);
$criteria->compare('his_jalan_op',$this->his_jalan_op,true);
$criteria->compare('his_blok_kav_no_op',$this->his_blok_kav_no_op,true);
$criteria->compare('his_rt_op',$this->his_rt_op,true);
$criteria->compare('his_rw_op',$this->his_rw_op,true);
$criteria->compare('his_status_peta_op',$this->his_status_peta_op);
$criteria->compare('his_jns_transaksi_op',$this->his_jns_transaksi_op,true);
$criteria->compare('his_nip_pendata',$this->his_nip_pendata,true);
$criteria->compare('his_tgl_pemeriksa_op',$this->his_tgl_pemeriksa_op,true);
$criteria->compare('his_tgl_pendataan_op',$this->his_tgl_pendataan_op,true);
$criteria->compare('his_nip_pemeriksa_op',$this->his_nip_pemeriksa_op,true);
return new CActiveDataProvider($this, array(
'criteria'=>$criteria,
));
}
}