WxEmployeeOfficial.php 607 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace App\Model;
  3. use Illuminate\Database\Eloquent\Model;
  4. /**
  5. * 人员管理
  6. * Class Unit
  7. * @package App\Models
  8. */
  9. class WxEmployeeOfficial extends Model
  10. {
  11. protected $guarded = [];
  12. protected $table = "wx_employee_official"; //指定表
  13. const CREATED_AT = 'crt_time';
  14. const UPDATED_AT = 'upd_time';
  15. protected $dateFormat = 'U';
  16. const SPECIAL_ADMIN = 1;
  17. const login_type_one = 1;
  18. const login_type_two = 2;
  19. public static $login_type_title = [
  20. self::login_type_one => '供应商绑定',
  21. self::login_type_two => '企业员工绑定',
  22. ];
  23. }