сомнительно, но ОКЭЙ

This commit is contained in:
ChaZIR 2024-05-01 21:02:38 +04:00
parent 1f64fed156
commit d6d5f8f4cc
5 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@ namespace TravelCompanyContracts.BindingModels.Contractor
{
public int Id { get; set; }
public string ExcursionName { get; set; } = string.Empty;
public int ExcursionPrice { get; set; }
public double ExcursionPrice { get; set; }
public int ContractorID { get; set; }
}
}

View File

@ -10,7 +10,7 @@ namespace TravelCompanyContracts.SearchModels.Contractor
{
public int? Id { get; set; }
public string? ExcursionName { get; set; } = string.Empty;
public int? ExcursionPrice { get; set; }
public double? ExcursionPrice { get; set; }
public int? ContractorID { get; set; }
}
}

View File

@ -14,7 +14,7 @@ namespace TravelCompanyContracts.ViewModels.Contractor.ViewModels
[DisplayName("Наименование экскурсии")]
public string ExcursionName { get; set; } = string.Empty;
[DisplayName("Стоимость экскурсии")]
public int ExcursionPrice { get; set; }
public double ExcursionPrice { get; set; }
public int ContractorID { get; set; }
}
}

View File

@ -9,7 +9,7 @@ namespace TravelCompanyDataModels.Models.Contractor
public interface IExcursionModel : IId
{
string ExcursionName { get; }
int ExcursionPrice { get; }
double ExcursionPrice { get; }
int ContractorID { get; }
}
}

View File

@ -20,7 +20,7 @@ namespace TravelCompanyDatabaseImplement.Models
public string ExcursionName { get; set; } = string.Empty;
[Required]
public int ExcursionPrice { get; set; }
public double ExcursionPrice { get; set; }
[Required]
public int ContractorID { get; set; }