<?php namespace myretail\models;use Yii;class SolisPaymentType extends \yii\db\ActiveRecord{public static function tableName(){return 'solis_payment_type';}public static function getDb(){return Yii::$app->dbMyRetail;}public function rules(){return [ [['fpkey'],'required'],[['fpkey','fstatus','fdeleted','finternal','fshowdetail','fmasknumlastdigit','fstorekey','feditable','ftype','fsort','fstyle'],'integer'],[['flastupdated'],'safe'],[['fmerchantfee'],'number'],[['fcode'],'string','max'=>20],[['fname'],'string','max'=>30],[['fgcode'],'string','max'=>25],[['fpkey'],'unique'],];}public function attributeLabels(){return [ 'fpkey'=>'Fpkey','fcode'=>'Fcode','fname'=>'Fname','fstatus'=>'Fstatus','fdeleted'=>'Fdeleted','finternal'=>'Finternal','fshowdetail'=>'Fshowdetail','fmasknumlastdigit'=>'Fmasknumlastdigit','flastupdated'=>'Flastupdated','fgcode'=>'Fgcode','fstorekey'=>'Fstorekey','feditable'=>'Feditable','ftype'=>'Ftype','fsort'=>'Fsort','fmerchantfee'=>'Fmerchantfee','fstyle'=>'Fstyle',];}}