diff --git a/0_Framework/Application/Enums/TypeOfSmsSetting.cs b/0_Framework/Application/Enums/TypeOfSmsSetting.cs new file mode 100644 index 00000000..3d45f720 --- /dev/null +++ b/0_Framework/Application/Enums/TypeOfSmsSetting.cs @@ -0,0 +1,40 @@ +namespace _0_Framework.Application.Enums; + +public enum TypeOfSmsSetting +{ + + /// + /// پیامک + /// یادآور بدهی ماهیانه قرارداد مالی + /// + InstitutionContractDebtReminder, + + /// + /// پیامک + /// صورت حساب ماهانه قرارداد مالی + /// + MonthlyInstitutionContract, + + /// + /// پیامک + /// اعلام مسدودی طرف حساب + /// + BlockContractingParty, + + /// + /// پیامک + /// هشدار اول + /// + WarningOne, + + /// + /// پیامک هشدار دوم + /// + WarningTow, + + /// + ///پیامک اقدام قضائی + /// + LegalAction, + +} \ No newline at end of file diff --git a/Company.Domain/SmsResultAgg/SmsSetting.cs b/Company.Domain/SmsResultAgg/SmsSetting.cs index f656d912..f5f21fb5 100644 --- a/Company.Domain/SmsResultAgg/SmsSetting.cs +++ b/Company.Domain/SmsResultAgg/SmsSetting.cs @@ -1,6 +1,26 @@ -namespace Company.Domain.SmsResultAgg; +using _0_Framework.Application.Enums; +using _0_Framework.Domain; +using System; -public class SmsSetting +namespace Company.Domain.SmsResultAgg; + +public class SmsSetting : EntityBaseWithoutCreationDate { - + /// + /// نوع پیامک + /// + public TypeOfSmsSetting TypeOfSmsSetting { get; set; } + + /// + /// عدد روز از ماه + /// + public int DayOfMonth { get; set; } + + + /// + /// ساعت + /// + public TimeSpan TimeOfDay { get; set; } + + } \ No newline at end of file diff --git a/CompanyManagment.EFCore/Mapping/SmsSettingMapping.cs b/CompanyManagment.EFCore/Mapping/SmsSettingMapping.cs new file mode 100644 index 00000000..56bf4847 --- /dev/null +++ b/CompanyManagment.EFCore/Mapping/SmsSettingMapping.cs @@ -0,0 +1,13 @@ +using Company.Domain.SmsResultAgg; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Metadata.Builders; + +namespace CompanyManagment.EFCore.Mapping; + +public class SmsSettingMapping : IEntityTypeConfiguration +{ + public void Configure(EntityTypeBuilder builder) + { + throw new System.NotImplementedException(); + } +} \ No newline at end of file