文件
mashangyoujiu/Application/Delivery/Model/UserAddressModel.class.php

20 行
363 B
PHP
可执行文件

<?php
namespace Delivery\Model;
use think\Model;
class UserAddress extends Model
{
// 表名
protected $name = 'paotui_user_address';
// 自动写入时间戳字段
protected $autoWriteTimestamp = "int";
// 定义时间戳字段名
protected $createTime = 'createtime';
protected $updateTime = "updatetime";
}