AyCode.Core/AyCode.Models/Users/AcChangePasswordDto.cs

24 lines
583 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AyCode.Models.Users
{
public abstract class AcChangePasswordDto : AcPasswordDtoBase
{
public Guid UserId { get; set; }
public string OldPassword { get; set; }
protected AcChangePasswordDto() : base()
{ }
protected AcChangePasswordDto(Guid userId, string oldPassword, string newPassword) : base(newPassword)
{
UserId = userId;
OldPassword = oldPassword;
}
}
}