using System;
using System.Collections.Generic;
using System.Text;

namespace JuSNS.Model
{
    /// <summary>
    /// 注册反回情况
    /// </summary>
    public enum EnumRegister
    {
        /// <summary>
        /// 成功
        /// </summary>
        Succeed = 0,
        /// <summary>
        /// 注册成功，但未通过电子邮件验证
        /// </summary>
        SucceedNotMail = 4,
        /// <summary>
        /// Email已存在
        /// </summary>
        EmailRepeat = 1,
        /// <summary>
        /// 已接受邀请而注册
        /// </summary>
        RegInviteCode = 2,
        /// <summary>
        /// 无效的验证码
        /// </summary>
        InvalidCode = 3,
        /// <summary>
        /// 其他错误
        /// </summary>
        UnexpectedError = 5,
        /// <summary>
        /// 用户注册写入数据库后,可能Email未能发送成功
        /// </summary>
        EmailMayNotSend = 6

    }
}
