fix
This commit is contained in:
parent
74416a8aab
commit
cef5209f67
@ -12,8 +12,8 @@ namespace HardwareShopContracts.ViewModels
|
||||
[DisplayName("Название компонента")]
|
||||
public string BuildName { get; set; } = string.Empty;
|
||||
|
||||
[DisplayName("Клиент")]
|
||||
public string UserEmail { get; set; } = string.Empty;
|
||||
[DisplayName("Логин работника")]
|
||||
public string UserLogin { get; set; } = string.Empty;
|
||||
|
||||
public int UserId { get; set; }
|
||||
|
||||
|
@ -17,7 +17,7 @@ namespace HardwareShopContracts.ViewModels
|
||||
|
||||
public int UserId { get; set; }
|
||||
|
||||
[DisplayName("Email клиента")]
|
||||
public string UserEmail { get; set; } = string.Empty;
|
||||
[DisplayName("Логин работника")]
|
||||
public string UserLogin { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
@ -18,8 +18,8 @@ namespace HardwareShopContracts.ViewModels
|
||||
|
||||
public int UserId { get; set; }
|
||||
|
||||
[DisplayName("Email клиента")]
|
||||
public string UserEmail { get; set; } = string.Empty;
|
||||
[DisplayName("Логин работника")]
|
||||
public string UserLogin { get; set; } = string.Empty;
|
||||
|
||||
public Dictionary<int, (IBuildModel, int)>? PurchaseBuilds { get; set; }
|
||||
|
||||
|
@ -75,7 +75,7 @@ namespace HardwareShopDatabaseImplement.Models.Worker
|
||||
Id = Id,
|
||||
BuildName = BuildName,
|
||||
Price = Price,
|
||||
UserEmail = User.Email,
|
||||
UserLogin = User.Login,
|
||||
UserId = UserId,
|
||||
BuildComponents = BuildComponents
|
||||
};
|
||||
|
@ -52,7 +52,7 @@ namespace HardwareShopDatabaseImplement.Models.Worker
|
||||
BuildId = BuildId,
|
||||
BuildName = Build.BuildName,
|
||||
UserId = UserId,
|
||||
UserEmail = User.Email,
|
||||
UserLogin = User.Login,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ namespace HardwareShopDatabaseImplement.Models.Worker
|
||||
PurchaseStatus = PurchaseStatus,
|
||||
DatePurchase = DatePurchase,
|
||||
UserId = UserId,
|
||||
UserEmail = User.Email,
|
||||
UserLogin = User.Login,
|
||||
PurchaseBuilds = PurchaseBuilds,
|
||||
PurchaseGoods = PurchaseGoods
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user