SexEnum.php 485 B

12345678910111213141516171819202122
  1. <?php
  2. /*
  3. * This file is part of the Jiannei/lumen-api-starter.
  4. *
  5. * (c) Jiannei <longjian.huang@foxmail.com>
  6. *
  7. * This source file is subject to the MIT license that is bundled
  8. * with this source code in the file LICENSE.
  9. */
  10. namespace App\Repositories\Enums;
  11. use Jiannei\Enum\Laravel\Contracts\LocalizedEnumContract;
  12. use Jiannei\Enum\Laravel\Enum;
  13. final class SexEnum extends Enum implements LocalizedEnumContract
  14. {
  15. const MAN = 1;
  16. const WOMAN = 2;
  17. const NO = 0;
  18. }