using AutoMapper;
using CoreCms.Net.Model.Entities;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreCms.Net.Model.ViewModels.SQ
{
[AutoMap(typeof(SQReservationParticipants))]
public class SQReservationParticipantsDto : SQReservationParticipants
{
///
/// 组局名称
///
public string ReservationName { get; set; }
///
/// 用户昵称
///
public string UserName { get; set; }
///
/// 用户昵称
///
public string NickName { get; set; }
///
/// 用户头像
///
public string AvatarImage { get; set; }
///
/// 用户是否拉黑 0否 1是
///
public int UserBlackStatus { get; set; }
}
[AutoMap(typeof(SQReservationParticipants))]
public class SQReservationParticipantsApiDto
{
///
/// 参与记录ID
///
public System.Int32 id { get; set; }
///
/// 预约ID
///
public System.Int32 reservation_id { get; set; }
///
/// 参与者ID(关联用户表,暂时占位)
///
public System.Int32 user_id { get; set; }
///
/// 角色:0=参与者,1=发起者
///
[Display(Name = "角色:0=参与者,1=发起者")]
public System.Int32 role { get; set; }
///
/// 加入时间
///
[Display(Name = "加入时间")]
public System.DateTime join_time { get; set; }
///
/// 状态,0正常,1已退出
///
[Display(Name = "状态,0正常,1已退出")]
public System.Int32 status { get; set; }
///
/// 用户昵称
///
public string UserName { get; set; }
///
/// 用户头像
///
public string AvatarImage { get; set; }
///
/// 用户是否拉黑 0否 1是
///
public int UserBlackStatus { get; set; }
}
///
///
///
public class SQReservationParticipantsApiEavDto : SQReservationParticipantsApiDto
{
///
///
///
public decimal play_level { get; set; }
///
///
///
public decimal skills_level { get; set; }
}
}