|
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.dat_objek_pajak".
*
* The followings are the available columns in table 'pbb.dat_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 string $subjek_pajak_id
* @property string $no_formulir_spop
* @property string $no_persil
* @property string $jalan_op
* @property string $blok_kav_no_op
* @property string $rw_op
* @property string $rt_op
* @property integer $kd_status_cabang
* @property string $kd_status_wp
* @property string $total_luas_bumi
* @property string $total_luas_bng
* @property string $njop_bumi
* @property string $njop_bng
* @property integer $status_peta_op
* @property string $jns_transaksi_op
* @property string $tgl_pendataan_op
* @property string $nip_pendata
* @property string $tgl_pemeriksaan_op
* @property string $nip_pemeriksa_op
* @property string $tgl_perekaman_op
* @property string $nip_perekam_op
* @property integer $createdby
* @property string $createdtime
* @property integer $updatedby
* @property string $updatedtime
*/
class PenetapanPencetakanMasal extends CBhumieRecord
{
/**
* Returns the static model of the specified AR class.
* @param string $className active record class name.
* @return DatObjekPajak 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.dat_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, subjek_pajak_id, no_formulir_spop, jalan_op, tgl_pendataan_op, nip_pendata, tgl_pemeriksaan_op, nip_pemeriksa_op, nip_perekam_op, createdby, createdtime, updatedby, updatedtime', 'required'),
array('kd_propinsi, kd_dati2, kd_kecamatan, kd_kelurahan, kd_blok, no_urut, kd_jns_op, subjek_pajak_id, no_formulir_spop, jalan_op, tgl_pendataan_op, nip_pendata, tgl_pemeriksaan_op, nip_pemeriksa_op, nip_perekam_op', 'required'),
//array('kd_status_cabang, status_peta_op, createdby, updatedby', 'numerical', 'integerOnly'=>true),
array('kd_status_cabang, status_peta_op', 'numerical', 'integerOnly'=>true),
array('kd_propinsi, kd_dati2, rw_op', 'length', 'max'=>2),
array('kd_kecamatan, kd_kelurahan, kd_blok, rt_op', 'length', 'max'=>3),
array('no_urut', 'length', 'max'=>4),
array('kd_jns_op, kd_status_wp, jns_transaksi_op', 'length', 'max'=>1),
array('subjek_pajak_id, jalan_op', 'length', 'max'=>30),
array('no_formulir_spop', 'length', 'max'=>11),
array('no_persil', 'length', 'max'=>5),
array('blok_kav_no_op', 'length', 'max'=>15),
array('nip_pendata, nip_pemeriksa_op, nip_perekam_op', 'length', 'max'=>18),
array('total_luas_bumi, total_luas_bng, njop_bumi, njop_bng, tgl_perekaman_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, subjek_pajak_id, no_formulir_spop, no_persil, jalan_op, blok_kav_no_op, rw_op, rt_op, kd_status_cabang, kd_status_wp, total_luas_bumi, total_luas_bng, njop_bumi, njop_bng, status_peta_op, jns_transaksi_op, tgl_pendataan_op, nip_pendata, tgl_pemeriksaan_op, nip_pemeriksa_op, tgl_perekaman_op, nip_perekam_op, createdby, createdtime, updatedby, updatedtime', 'safe', 'on'=>'search'),
array('kd_propinsi, kd_dati2, kd_kecamatan, kd_kelurahan, kd_blok, no_urut, kd_jns_op, subjek_pajak_id, no_formulir_spop, no_persil, jalan_op, blok_kav_no_op, rw_op, rt_op, kd_status_cabang, kd_status_wp, total_luas_bumi, total_luas_bng, njop_bumi, njop_bng, status_peta_op, jns_transaksi_op, tgl_pendataan_op, nip_pendata, tgl_pemeriksaan_op, nip_pemeriksa_op, tgl_perekaman_op, nip_perekam_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',
'subjek_pajak_id' => 'Subjek Pajak',
'no_formulir_spop' => 'No Formulir Spop',
'no_persil' => 'No Persil',
'jalan_op' => 'Jalan Op',
'blok_kav_no_op' => 'Blok Kav No Op',
'rw_op' => 'Rw Op',
'rt_op' => 'Rt Op',
'kd_status_cabang' => 'Kd Status Cabang',
'kd_status_wp' => 'Kd Status Wp',
'total_luas_bumi' => 'Total Luas Bumi',
'total_luas_bng' => 'Total Luas Bng',
'njop_bumi' => 'Njop Bumi',
'njop_bng' => 'Njop Bng',
'status_peta_op' => 'Status Peta Op',
'jns_transaksi_op' => 'Jns Transaksi Op',
'tgl_pendataan_op' => 'Tgl Pendataan Op',
'nip_pendata' => 'Nip Pendata',
'tgl_pemeriksaan_op' => 'Tgl Pemeriksaan Op',
'nip_pemeriksa_op' => 'Nip Pemeriksa Op',
'tgl_perekaman_op' => 'Tgl Perekaman Op',
'nip_perekam_op' => 'Nip Perekam Op',
//'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('subjek_pajak_id',$this->subjek_pajak_id,true);
$criteria->compare('no_formulir_spop',$this->no_formulir_spop,true);
$criteria->compare('no_persil',$this->no_persil,true);
$criteria->compare('jalan_op',$this->jalan_op,true);
$criteria->compare('blok_kav_no_op',$this->blok_kav_no_op,true);
$criteria->compare('rw_op',$this->rw_op,true);
$criteria->compare('rt_op',$this->rt_op,true);
$criteria->compare('kd_status_cabang',$this->kd_status_cabang);
$criteria->compare('kd_status_wp',$this->kd_status_wp,true);
$criteria->compare('total_luas_bumi',$this->total_luas_bumi,true);
$criteria->compare('total_luas_bng',$this->total_luas_bng,true);
$criteria->compare('njop_bumi',$this->njop_bumi,true);
$criteria->compare('njop_bng',$this->njop_bng,true);
$criteria->compare('status_peta_op',$this->status_peta_op);
$criteria->compare('jns_transaksi_op',$this->jns_transaksi_op,true);
$criteria->compare('tgl_pendataan_op',$this->tgl_pendataan_op,true);
$criteria->compare('nip_pendata',$this->nip_pendata,true);
$criteria->compare('tgl_pemeriksaan_op',$this->tgl_pemeriksaan_op,true);
$criteria->compare('nip_pemeriksa_op',$this->nip_pemeriksa_op,true);
$criteria->compare('tgl_perekaman_op',$this->tgl_perekaman_op,true);
$criteria->compare('nip_perekam_op',$this->nip_perekam_op,true);
//$criteria->compare('createdby',$this->createdby);
//$criteria->compare('createdtime',$this->createdtime,true);
//$criteria->compare('updatedby',$this->updatedby);
//$criteria->compare('updatedtime',$this->updatedtime,true);
return new CActiveDataProvider($this, array(
'criteria'=>$criteria,
));
}
}