48956e758f
Add support for accurate tenpo score rank.
24 lines
601 B
C#
24 lines
601 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace Application.Game.Card;
|
|
|
|
public class CardRequest
|
|
{
|
|
[ModelBinder(Name = "mac_addr")]
|
|
public string Mac { get; set; } = string.Empty;
|
|
|
|
[ModelBinder(Name = "cmd_str")]
|
|
public int CardCommandType { get; set; }
|
|
|
|
[ModelBinder(Name = "type")]
|
|
public int CardRequestType { get; set; }
|
|
|
|
[ModelBinder(Name = "card_no")]
|
|
public long CardId { get; set; }
|
|
|
|
[ModelBinder(Name = "tenpo_id")]
|
|
public string TenpoId { get; set; } = "1337";
|
|
|
|
[ModelBinder(Name = "data")]
|
|
public string Data { get; set; } = string.Empty;
|
|
} |