diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-22 17:18:56 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-22 17:18:56 +0100 |
commit | 9d50517ceaeadaba227ccdbaa43a5918abd16728 (patch) | |
tree | 5aa92beb3250895079690d7ecb8b3ddde28cda15 /src/WallabagBundle/Entity/Entry.php~ | |
parent | 2b9fe72b397a239c40f8c66d83506e0e2e8d5854 (diff) | |
download | wallabag-9d50517ceaeadaba227ccdbaa43a5918abd16728.tar.gz wallabag-9d50517ceaeadaba227ccdbaa43a5918abd16728.tar.zst wallabag-9d50517ceaeadaba227ccdbaa43a5918abd16728.zip |
migrating legacy to symfony
Diffstat (limited to 'src/WallabagBundle/Entity/Entry.php~')
-rw-r--r-- | src/WallabagBundle/Entity/Entry.php~ | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/src/WallabagBundle/Entity/Entry.php~ b/src/WallabagBundle/Entity/Entry.php~ new file mode 100644 index 00000000..ebcdf53a --- /dev/null +++ b/src/WallabagBundle/Entity/Entry.php~ | |||
@@ -0,0 +1,74 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace WallabagBundle\Entity; | ||
4 | |||
5 | use Doctrine\ORM\Mapping as ORM; | ||
6 | |||
7 | /** | ||
8 | * Entry | ||
9 | * | ||
10 | * @ORM\Table(name="Entry") | ||
11 | * @ORM\Entity | ||
12 | */ | ||
13 | class Entry | ||
14 | { | ||
15 | /** | ||
16 | * @var integer | ||
17 | * | ||
18 | * @ORM\Column(name="id", type="integer", nullable=false) | ||
19 | * @ORM\Id | ||
20 | * @ORM\GeneratedValue(strategy="IDENTITY") | ||
21 | */ | ||
22 | private $id; | ||
23 | |||
24 | /** | ||
25 | * @var string | ||
26 | * | ||
27 | * @ORM\Column(name="title", type="string", length=255, nullable=false) | ||
28 | */ | ||
29 | private $title; | ||
30 | |||
31 | /** | ||
32 | * @var string | ||
33 | * | ||
34 | * @ORM\Column(name="url", type="text", nullable=false) | ||
35 | */ | ||
36 | private $url; | ||
37 | |||
38 | /** | ||
39 | * @var string | ||
40 | * | ||
41 | * @ORM\Column(name="content", type="text", nullable=false) | ||
42 | */ | ||
43 | private $content; | ||
44 | |||
45 | /** | ||
46 | * @var boolean | ||
47 | * | ||
48 | * @ORM\Column(name="is_read", type="boolean", nullable=false) | ||
49 | */ | ||
50 | private $isRead; | ||
51 | |||
52 | /** | ||
53 | * @var boolean | ||
54 | * | ||
55 | * @ORM\Column(name="is_fav", type="boolean", nullable=false) | ||
56 | */ | ||
57 | private $isFav; | ||
58 | |||
59 | /** | ||
60 | * @var \DateTime | ||
61 | * | ||
62 | * @ORM\Column(name="created_at", type="datetime", nullable=false) | ||
63 | */ | ||
64 | private $createdAt; | ||
65 | |||
66 | /** | ||
67 | * @var \DateTime | ||
68 | * | ||
69 | * @ORM\Column(name="edited_at", type="datetime", nullable=false) | ||
70 | */ | ||
71 | private $editedAt; | ||
72 | |||
73 | |||
74 | } | ||