<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
class UserAvatar {
/**
* @var int
*/
private $id;
/**
* @var \DateTime|null
*/
private $createdAt;
/**
* @var \App\Entity\User
*/
private $user;
/**
* @var \App\Entity\Media|null
*/
private $image;
public function getId(): int {
return $this->id;
}
public function getCreatedAt(): ?\DateTime {
return $this->createdAt;
}
public function getUser(): \App\Entity\User {
return $this->user;
}
public function getImage(): ?\App\Entity\Media {
return $this->image;
}
public function setId(int $id): void {
$this->id = $id;
}
public function setCreatedAt(?\DateTime $createdAt): void {
$this->createdAt = $createdAt;
}
public function setUser(\App\Entity\User $user): void {
$this->user = $user;
}
public function setImage(?\App\Entity\Media $image): void {
$this->image = $image;
}
}