Market.php 427B

123456789101112131415
  1. <?php
  2. namespace app\crm\model;
  3. use app\crm\controller\Common;
  4. class Market extends Common {
  5. /**
  6. * 为了数据库的整洁,同时又不影响Model和Controller的名称
  7. * 我们约定每个模块的数据表都加上相同的前缀,比如CRM模块用crm作为数据表前缀
  8. */
  9. protected $name = 'crm_market';
  10. protected $createTime = 'create_time';
  11. protected $updateTime = 'update_time';
  12. }