UserProperty.php 522 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace app\admin\model;
  3. use support\Db;
  4. use support\Model;
  5. /**
  6. * 用户固定资产模型
  7. * Class Users
  8. * @package app\admin\model
  9. */
  10. class UserProperty extends Model
  11. {
  12. const IS_DEL_YES = 1;
  13. const IS_DEL_NO = 0;
  14. const PROPERTY_DEL = [
  15. self::IS_DEL_YES => '已删除',
  16. self::IS_DEL_NO => '未删除'
  17. ];
  18. /**
  19. * The table associated with the model.
  20. *
  21. * @var string
  22. */
  23. protected $table = 'user_house_property';
  24. public $timestamps = false;
  25. }