package com.agileboot.common.core.enums.common;

import com.agileboot.common.core.enums.DictionaryEnum;
import com.agileboot.common.core.enums.dictionary.CssTag;
import com.agileboot.common.core.enums.dictionary.Dictionary;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 对应sys_user的sex字段
 *
 * @author valarchie
 */
@Getter
@AllArgsConstructor
@Dictionary(name = "sysUser.sex")
public enum GenderEnum implements DictionaryEnum<Integer> {

    /**
     * 用户性别
     */
    MALE(1, "男", CssTag.PRIMARY),
    FEMALE(2, "女", CssTag.PRIMARY),
    UNKNOWN(0, "未知", CssTag.PRIMARY);

    private final Integer value;
    private final String desc;
    private final String cssTag;
}
