Files

22 lines
494 B
C#
Raw Permalink Normal View History

2026-10-12 16:22:04 +08:00
using System.Threading.Tasks;
using CommonDomain.BaseModel;
namespace UserService.ScratchCard
{
public class ScratchCardResult
{
public int PrizeType { get; set; }
public string PrizeName { get; set; } = string.Empty;
public int Count { get; set; }
public BaseProduct? BaseProduct { get; set; }
}
public interface IScratchCardService
{
Task<(bool success, string message, ScratchCardResult? result)> Draw(string userId);
}
}