2023-02-16 09:53:02 +01:00
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
2023-02-09 10:25:42 +01:00
|
|
|
|
|
|
|
|
|
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; }
|
2023-10-07 20:12:10 +02:00
|
|
|
|
|
|
|
|
|
[ModelBinder(Name = "tenpo_id")]
|
|
|
|
|
public string TenpoId { get; set; } = "1337";
|
2023-02-09 10:25:42 +01:00
|
|
|
|
|
|
|
|
|
[ModelBinder(Name = "data")]
|
|
|
|
|
public string Data { get; set; } = string.Empty;
|
|
|
|
|
}
|