REAPI/app/channel/model/ProductCategory.php

28 lines
500 B
PHP
Raw Normal View History

2024-09-29 15:43:18 +08:00
<?php
namespace app\channel\model;
use think\admin\Model;
class ProductCategory extends Model
{
/**
* 日志名称
* @var string
*/
protected $oplogName = '产品分类';
/**
* 日志类型
* @var string
*/
protected $oplogType = '产品分类管理';
/**
* 格式化创建时间
* @param mixed $value
* @return string
*/
public function getCreateAtAttr($value): string
{
return format_datetime($value);
}
}