This commit is contained in:
wushumin
2026-05-11 15:28:27 +08:00
commit 9aac78b8da
289 changed files with 67193 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
<?php
namespace app\model;
use support\think\Model;
abstract class BaseModel extends Model
{
protected $autoWriteTimestamp = 'datetime';
protected $createTime = 'created_at';
protected $updateTime = 'updated_at';
}

View File

@@ -0,0 +1,8 @@
<?php
namespace app\model;
class CatalogCategory extends BaseModel
{
protected $table = 'catalog_categories';
}

View File

@@ -0,0 +1,8 @@
<?php
namespace app\model;
class Order extends BaseModel
{
protected $table = 'orders';
}

View File

@@ -0,0 +1,8 @@
<?php
namespace app\model;
class OrderProduct extends BaseModel
{
protected $table = 'order_products';
}

View File

@@ -0,0 +1,8 @@
<?php
namespace app\model;
class OrderSupplementTask extends BaseModel
{
protected $table = 'order_supplement_tasks';
}

View File

@@ -0,0 +1,8 @@
<?php
namespace app\model;
class OrderSupplementTaskItem extends BaseModel
{
protected $table = 'order_supplement_task_items';
}

View File

@@ -0,0 +1,9 @@
<?php
namespace app\model;
class OrderTimeline extends BaseModel
{
protected $table = 'order_timelines';
protected $updateTime = null;
}

View File

@@ -0,0 +1,8 @@
<?php
namespace app\model;
class Report extends BaseModel
{
protected $table = 'reports';
}

View File

@@ -0,0 +1,8 @@
<?php
namespace app\model;
class ReportContent extends BaseModel
{
protected $table = 'report_contents';
}

View File

@@ -0,0 +1,8 @@
<?php
namespace app\model;
class ReportVerify extends BaseModel
{
protected $table = 'report_verifies';
}

View File

@@ -0,0 +1,29 @@
<?php
namespace app\model;
use support\Model;
class Test extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'test';
/**
* The primary key associated with the table.
*
* @var string
*/
protected $primaryKey = 'id';
/**
* Indicates if the model should be timestamped.
*
* @var bool
*/
public $timestamps = false;
}