| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?php
- namespace app\models;
- use Yii;
- /**
- * This is the model class for table "EventoResumen".
- *
- * @property int $id
- * @property string|null $uuid
- * @property string|null $inicio
- * @property string|null $fin
- * @property string|null $creado
- * @property string|null $modificado
- *
- * @property EventoResumenParticipante[] $eventoResumenParticipantes
- */
- class EventoResumen extends \yii\db\ActiveRecord {
- /**
- * {@inheritdoc}
- */
- public static function tableName() {
- return 'EventoResumen';
- }
- /**
- * {@inheritdoc}
- */
- public function rules() {
- return [
- [['inicio', 'fin', 'creado', 'modificado'], 'safe'],
- [['uuid'], 'string', 'max' => 50],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels() {
- return [
- 'id' => 'ID',
- 'uuid' => 'Uuid',
- 'inicio' => 'Inicio',
- 'fin' => 'Fin',
- 'creado' => 'Creado',
- 'modificado' => 'Modificado',
- ];
- }
- /**
- * Gets query for [[EventoResumenParticipantes]].
- *
- * @return \yii\db\ActiveQuery
- */
- public function getEventoResumenParticipantes() {
- return $this->hasMany(EventoResumenParticipante::class, ['idEventoResumen' => 'id']);
- }
- }
|