mirror of
https://github.com/yawaflua/PL_JusticeBot.git
synced 2025-12-10 20:39:31 +02:00
добавил патенты, верификацию, сделал паспорта, ип ооо
This commit is contained in:
49
Justice/Modals/BiznessModals.cs
Normal file
49
Justice/Modals/BiznessModals.cs
Normal file
@@ -0,0 +1,49 @@
|
||||
using Discord;
|
||||
using Discord.Interactions;
|
||||
|
||||
namespace DiscordApp.Justice.Modals
|
||||
{
|
||||
public class INewIndividualEntrepreneur : IModal
|
||||
{
|
||||
public string Title => "Регистрация ИП";
|
||||
[InputLabel("ID паспорта")]
|
||||
[ModalTextInput("nickname", TextInputStyle.Short, placeholder: "96534", maxLength: 10)]
|
||||
public string passportId { get; set; }
|
||||
|
||||
[InputLabel("Название")]
|
||||
[ModalTextInput("Name", TextInputStyle.Short, placeholder: "ИП Оганесян", maxLength: 100)]
|
||||
public string Name { get; set; }
|
||||
|
||||
[InputLabel("Тип деятельности")]
|
||||
[ModalTextInput("Type", TextInputStyle.Short, placeholder: "Продажа", maxLength: 200)]
|
||||
public string BiznessType { get; set; }
|
||||
|
||||
[InputLabel("Номер карты")]
|
||||
[ModalTextInput("cardNumber", TextInputStyle.Short, placeholder: "70835", maxLength: 100)]
|
||||
public int CardNumber { get; set; }
|
||||
|
||||
}
|
||||
public class INewBizness : IModal
|
||||
{
|
||||
public string Title => "Регистрация ИП";
|
||||
[InputLabel("ID паспорта")]
|
||||
[ModalTextInput("nickname", TextInputStyle.Short, placeholder: "96534", maxLength: 10)]
|
||||
public string passportId { get; set; }
|
||||
|
||||
[InputLabel("Название")]
|
||||
[ModalTextInput("Name", TextInputStyle.Short, placeholder: "ИП Оганесян", maxLength: 100)]
|
||||
public string Name { get; set; }
|
||||
|
||||
[InputLabel("Тип деятельности")]
|
||||
[ModalTextInput("Type", TextInputStyle.Short, placeholder: "Продажа", maxLength: 200)]
|
||||
public string BiznessType { get; set; }
|
||||
|
||||
[InputLabel("Участники(через запятую)")]
|
||||
[ModalTextInput("Employee", TextInputStyle.Short, placeholder: "96534, 12742", maxLength: 200)]
|
||||
public string BiznessEmployee { get; set; }
|
||||
|
||||
[InputLabel("Номер карты")]
|
||||
[ModalTextInput("cardNumber", TextInputStyle.Short, placeholder: "70835", maxLength: 100)]
|
||||
public int CardNumber { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user