SupplierUser.php 608 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace app\abutment\model;
  3. use think\Model;
  4. //供应商账号
  5. class SupplierUser extends Model
  6. {
  7. protected $table = 'sys_supplier_user';
  8. protected $pk = 'uid';
  9. protected $autoWriteTimestamp = false;
  10. protected $connection = 'mysql_sys';
  11. public static $is_del_normal = 0;//未删除
  12. public static $is_del_deleted = 1;//已删除
  13. public static $status_normal = 1;//状态,启用
  14. public static $status_disabled = 0;//状态,禁用
  15. // public static $type_default = 1;//类型,联系人账号
  16. // public static $type_ordinary = 2;//类型,普通账号
  17. }