<?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "card_card_package_assignment".
 *
 * @property integer $id_card_card_package_assignment
 * @property integer $id_card_package
 * @property integer $id_card
 * @property integer $printed
 * @property string $created_at
 * @property string $updated_at
 */
class CardCardPackageAssignment extends \common\models\BaseFitnessActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'card_card_package_assignment';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['id_card_package', 'id_card'], 'integer'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id_card_card_package_assignment' => Yii::t('common/card_package', 'Id Card Card Package Assignment'),
            'id_card_package' => Yii::t('common/card_package', 'Id Card Package'),
            'id_card' => Yii::t('common/card_package', 'Id Card'),
            'created_at' => Yii::t('common/card_package', 'Created At'),
            'updated_at' => Yii::t('common/card_package', 'Updated At'),
        ];
    }
}
