WIP on docs and added basic enums supports

This commit is contained in:
mcndave committed 2023-01-14 02:19:42 +00:00
1 parent 497fe5547b
commit b6752f4364
22 files changed
+367 -35

No files matched your search

+48
View File
@@ -0,0 +1,48 @@
<?php
namespace Ulmus\Entity\Sqlite;
use Ulmus\EntityCollection;
/**
* @Table
*/
class Column
{
use \Ulmus\EntityTrait;
/**
* @Id
*/
public int $cid;
/**
* @Field
*/
public string $type;
/**
* @Field
*/
public string $name;
/**
* @Virtual
*/
public string $tableName;
/**
* @Field('name' => "notnull")
*/
public bool $notNull;
/**
* @Field('name' => 'dflt_value')
*/
public ? string $defaultValue;
/**
* @Field('name' => "pk")
*/
public bool $primaryKey;
}