<?php

namespace common\enums;

class GenderEnum

{
    const GENDER_UNKNOWN = 0;
    const GENDER_MALE = 1;
    const GENDER_FEMALE = 2;


    public static $list = [
        self::GENDER_MALE => '男',
        self::GENDER_FEMALE => '女',
        self::GENDER_UNKNOWN => '未知',
    ];

    public static $config = [
        'gender_male' => self::GENDER_MALE,
        'gender_female' => self::GENDER_FEMALE,
        'gender_unknown' => self::GENDER_UNKNOWN,
    ];
}