using Common.Enums;
using Hushian.Domain.Abstracts;

namespace Identity.Models
{
    public class VerificationCode : BaseEntity
    {
        public VerificationCode( VerificationCodeType type, string code, string mobile)
        {
            Type = type;
            Code = code;
            Mobile = mobile;
        }

        public int ID { get; set; }
        ////CompanyIDorUserId
        //public int? KeyId { get; set; }
        public VerificationCodeType Type { get; set; }
        public string Code { get; set; }
        public string Mobile { get; set; }
        public DateTime Cdatetime
        { get; set; } = DateTime.Now;
    }
}
