添加项目文件。
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user