user_file.php 370 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * Class UserFile
  4. *
  5. * @property int $id
  6. * @property int $user_id
  7. * @property int $type
  8. * @property string $dts_uploaded
  9. */
  10. class UserFile extends Model {
  11. protected static $table = "user_file";
  12. protected static $id_field = "id";
  13. protected static $fillable_fields = ["user_id", "type", "dts_uploaded"];
  14. const TYPE_ID = 1;
  15. const TYPE_PHOTO = 2;
  16. }