сомнительно, но ОКЭЙ
This commit is contained in:
parent
1f64fed156
commit
d6d5f8f4cc
@ -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; }
|
||||
}
|
||||
}
|
||||
|
@ -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; }
|
||||
}
|
||||
}
|
||||
|
@ -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; }
|
||||
}
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ namespace TravelCompanyDataModels.Models.Contractor
|
||||
public interface IExcursionModel : IId
|
||||
{
|
||||
string ExcursionName { get; }
|
||||
int ExcursionPrice { get; }
|
||||
double ExcursionPrice { get; }
|
||||
int ContractorID { get; }
|
||||
}
|
||||
}
|
||||
|
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user