创建版本

This commit is contained in:
2021-02-22 12:17:00 +08:00
commit af555f49c3
2332 changed files with 369202 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php namespace Gdoo\Project\Models;
use Gdoo\Index\Models\BaseModel;
class Project extends BaseModel
{
protected $table = 'project';
public static $tabs = [
['id' => 0, 'name' => '进行中', 'color' => 'info'],
['id' => 1, 'name' => '已结束', 'color' => 'success'],
];
public function tasks()
{
return $this->hasMany('Gdoo\Project\Models\Task');
}
}