CourseWork_BankYouBankrupt/BankYouBankrupt/BankYouBankruptContracts/BindingModels/MailSendInfoBindingModel.cs

27 lines
705 B
C#
Raw Normal View History

2023-05-20 01:43:20 +04:00
using BankYouBankruptDataModels.Enums;
using System;
2023-05-18 14:45:28 +04:00
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankYouBankruptContracts.BindingModels
{
//один из двух классов для обмена информацией по почте
public class MailSendInfoBindingModel
{
public string MailAddress { get; set; } = string.Empty;
public string Subject { get; set; } = string.Empty;
public string Text { get; set; } = string.Empty;
2023-05-20 01:43:20 +04:00
//для отправки pdf
public byte[] File { get; set; } = Array.Empty<byte>();
public MailsEnum Role { get; set; }
2023-05-20 04:48:52 +04:00
public TypeDocEnum TypeDoc { get; set; }
2023-05-20 01:43:20 +04:00
}
2023-05-18 14:45:28 +04:00
}