Update
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
namespace BackOffice.BFF.Application.PackageCQ.Commands.CreateNewPackage;
|
||||
public record CreateNewPackageCommand : IRequest<CreateNewPackageResponseDto>
|
||||
{
|
||||
//عنوان
|
||||
public string Title { get; init; }
|
||||
//توضیحات
|
||||
public string Description { get; init; }
|
||||
//فایل تصویر
|
||||
public BoostCardFileModel ImageFile { get; init; }
|
||||
//قیمت
|
||||
public long Price { get; init; }
|
||||
|
||||
}public class BoostCardFileModel
|
||||
{
|
||||
//فایل
|
||||
public byte[] File { get; set; }
|
||||
//نام
|
||||
public string FileName { get; set; }
|
||||
//نوع فایل
|
||||
public string Mime { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user