Publishack.php 659 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace catchAdmin\api\model;
  3. use catcher\base\CatchModel as Model;
  4. use catcher\traits\db\BaseOptionsTrait;
  5. use catcher\traits\db\ScopeTrait;
  6. class Publishack extends Model
  7. {
  8. use BaseOptionsTrait, ScopeTrait;
  9. // 表名
  10. public $name = 'publish_ack';
  11. // 数据库字段映射
  12. public $field = array(
  13. 'id',
  14. // 下发表版本号
  15. 'PublishVersion',
  16. // 内容
  17. 'PublishContent',
  18. // 添加时间
  19. 'AddTime',
  20. // 1 成功 -1 失败
  21. 'Succ',
  22. // 失败原因
  23. 'ErrStr',
  24. // 回复时间
  25. 'AckTime',
  26. // 网关
  27. 'Imei',
  28. );
  29. }