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