danylokhodus's picture
feat(habits): support custom checked date in backend DTO, repository, and service
03ee889
Raw
History Blame Contribute Delete
537 Bytes
namespace FlowAPI.Application.DTOs.Habit
{
public class CreateHabitRecordDto
{
public Guid UserId { get; set; }
public string HabitName { get; set; } = string.Empty;
public DateTime? CheckedDate { get; set; }
}
public class HabitRecordResponseDto
{
public Guid Id { get; set; }
public Guid UserId { get; set; }
public string HabitName { get; set; } = string.Empty;
public DateTime CheckedDate { get; set; }
public int StreakCount { get; set; }
}
}