<?php

namespace app\api\model;

use think\Model;
use traits\model\SoftDelete;


class CoinRecord extends Model
{
    use SoftDelete;

    // 表名
    protected $name = 'coin_record';

    // 自动写入时间戳字段
    protected $autoWriteTimestamp = 'int';

    // 定义时间戳字段名
    protected $createTime = 'create_time';
    protected $updateTime = 'update_time';
    protected $deleteTime = 'delete_time';

    // 追加属性
    protected $append = [];

}
