mahjong_group/server/CoreCms.Net.Model/ViewModels/SQ/SQReservationParticipantsDto.cs
2026-01-01 14:35:52 +08:00

117 lines
2.8 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
{
/// <summary>
/// 组局名称
/// </summary>
public string ReservationName { get; set; }
/// <summary>
/// 用户昵称
/// </summary>
public string UserName { get; set; }
/// <summary>
/// 用户昵称
/// </summary>
public string NickName { get; set; }
/// <summary>
/// 用户头像
/// </summary>
public string AvatarImage { get; set; }
/// <summary>
/// 用户是否拉黑 0否 1是
/// </summary>
public int UserBlackStatus { get; set; }
}
[AutoMap(typeof(SQReservationParticipants))]
public class SQReservationParticipantsApiDto
{
/// <summary>
/// 参与记录ID
/// </summary>
public System.Int32 id { get; set; }
/// <summary>
/// 预约ID
/// </summary>
public System.Int32 reservation_id { get; set; }
/// <summary>
/// 参与者ID关联用户表暂时占位
/// </summary>
public System.Int32 user_id { get; set; }
/// <summary>
/// 角色0=参与者1=发起者
/// </summary>
[Display(Name = "角色0=参与者1=发起者")]
public System.Int32 role { get; set; }
/// <summary>
/// 加入时间
/// </summary>
[Display(Name = "加入时间")]
public System.DateTime join_time { get; set; }
/// <summary>
/// 状态0正常1已退出
/// </summary>
[Display(Name = "状态0正常1已退出")]
public System.Int32 status { get; set; }
/// <summary>
/// 用户昵称
/// </summary>
public string UserName { get; set; }
/// <summary>
/// 用户头像
/// </summary>
public string AvatarImage { get; set; }
/// <summary>
/// 用户是否拉黑 0否 1是
/// </summary>
public int UserBlackStatus { get; set; }
}
/// <summary>
///
/// </summary>
public class SQReservationParticipantsApiEavDto : SQReservationParticipantsApiDto
{
/// <summary>
///
/// </summary>
public decimal play_level { get; set; }
/// <summary>
///
/// </summary>
public decimal skills_level { get; set; }
}
}