<?php namespace myresto\models;use Yii;class SyncAccountToJurnal extends \yii\db\ActiveRecord{public static function tableName(){return 'sync_account_to_jurnal';}public function rules(){return [ [['payment_fpkey'],'integer'],[['payment_type','nama_akun'],'string','max'=>90],[['type_con'],'default','value'=>'resto'],];}public function attributeLabels(){return [ 'payment_fpkey'=>'Payment Fpkey','payment_type'=>'Payment Type','nama_akun'=>'Nama Akun',];}}