- WIP on first 'doc' and also minimal support for enums where added

This commit is contained in:
mcndave committed 2023-01-13 21:27:56 -05:00
1 parent 497fe5547b
commit d600908f47
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;
}