using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YD_WeChatApplet.Commons.Enum;
namespace YD_WeChatApplet.Commons.Dto.ClientSide
{
///
/// 任务结果
///
public class GetGroupTaskResultDto
{
public int GroupTaskId { get; set; }
}
///
/// 任务结果
///
public class GroupTaskResultDto
{
///
/// 团队目标
///
public int TeamGoal { get; set; }
///
/// 完成情况
///
public int Complete { get; set; }
///
///用户名称
///
public string NickName { get; set; }
///
///头像
///
public string? HeadImageUrl { get; set; }
///
/// 当前排名
///
public int CurrentRanking { get; set; }
///
/// 我的贡献
///
public int Contribute { get; set; }
///
/// 成绩列表
///
public List TaskResults { get; set; }
}
public class TaskResultListDto
{
///
/// UserId
///
public int UserId { get; set; }
///
///用户名称
///
public string NickName { get; set; }
///
///头像
///
public string? HeadImageUrl { get; set; }
///
/// 成绩
///
//public string Result { get; set; }
///
/// 作业时长
///
public int Duration { get; set; }
///
/// 作业数量
///
public int Amount { get; set; }
///
/// 排名
///
public int Ranking { get; set; }
}
}