TimestampBehavior::class, 'value' => null ] ]; } public function rules() { return [ [['id', 'coupon_id', 'store_id', 'mini_id'], 'integer'], [['create_at', 'update_at', 'is_delete', 'alipay_activity_id'], 'safe'] ]; } public function attributeLabels() { return [ 'id' => 'ID', 'mini_id' => 'store_id', 'store_id' => 'store_id', 'coupon_id' => 'coupon_id', 'alipay_activity_id' => '支付宝商家券活动id', 'is_delete' => '删除', 'create_at' => '创建时间', 'update_at' => '更新时间', ]; } }