Ems.php 676 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. namespace app\common\model;
  3. use think\Model;
  4. /**
  5. * 邮箱验证码
  6. */
  7. class Ems extends BaseModel
  8. {
  9. // 表名
  10. protected $name = 'ems';
  11. // 自动写入时间戳字段
  12. protected $autoWriteTimestamp = 'int';
  13. // 定义时间戳字段名
  14. protected $createTime = 'createtime';
  15. protected $updateTime = false;
  16. protected int $is_status_search = 0;// 默认使用 status = 1 筛选
  17. protected int $is_delete_search = 0;// 默认使用 is_delete = 0 筛选
  18. /**
  19. * 默认查询字段
  20. *
  21. * @var array|string[]
  22. */
  23. public array $select = [
  24. '*'
  25. ];
  26. // 追加属性
  27. protected $append = [
  28. ];
  29. }