WxEmployeeOfficial.php 578 B

1234567891011121314151617181920212223242526
  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 $table = "wx_employee_official"; //指定表
  12. const CREATED_AT = 'crt_time';
  13. const UPDATED_AT = 'upd_time';
  14. protected $dateFormat = 'U';
  15. const SPECIAL_ADMIN = 1;
  16. const login_type_one = 1;
  17. const login_type_two = 2;
  18. public static $login_type_title = [
  19. self::login_type_one => '供应商绑定',
  20. self::login_type_two => '企业员工绑定',
  21. ];
  22. }