WIP on docs and added basic enums supports
This commit is contained in:
1 parent
497fe5547b
commit
b6752f4364
22 files changed
+367
-35
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user