TimestampBehavior::class, 'value' => time() ] ]; } /** * @inheritdoc */ public function rules() { return [ [['mobile', 'refuse_reason', 'order_no', 'account_name', 'account', 'bank'], 'string'], [['mobile', 'refuse_reason', 'order_no'], 'trim'], [['id', 'user_id', 'status', 'is_delete', 'created_at', 'updated_at', 'is_pay', 'pay_time', 'type'], 'integer'], [['amount', 'service_money', 'before_price', 'after_price'], 'number'], [['created_at', 'update_at'], 'safe'] ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'id' => 'ID', 'user_id' => 'user id', 'mobile' => '手机号', 'amount' => '金额', 'order_no' => '订单号', 'status' => '状态,0:待审核,1:审核通过,2:审核失败', 'refuse_reason' => '拒绝原因', 'is_pay' => '支付状态', 'pay_time' => '支付时间', 'created_at' => '创建时间', 'updated_at' => '更新时间', 'is_delete' => '是否已删除', 'type' => "提现类型", 'account_name' => '账户名', 'account' => '账户', 'bank' => '银行' ]; } }