mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 15:01:56 +00:00
Added Make and Model and Attributes to AssetDescription
This commit is contained in:
@@ -34,6 +34,9 @@ public class AssetModel
|
||||
public class AssetDescription
|
||||
{
|
||||
public string? Type { get; set; }
|
||||
public string? Make { get; set; }
|
||||
public string? Model { get; set; }
|
||||
public Dictionary<string, string>? Attributes { get; set; }
|
||||
public AssetPurchase? Purchase { get; set; }
|
||||
}
|
||||
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace Berufsschule_HAM.Models;
|
||||
|
||||
public class AssetsModifyRequestModel
|
||||
{
|
||||
public required string Cn { get; set; }
|
||||
public string? NewCn { get; set; } = null;
|
||||
[FromBody]
|
||||
public AssetDescription? Description { get; set; } = null;
|
||||
public string? Location { get; set; } = null;
|
||||
public string? Name { get; set; } = null;
|
||||
|
||||
Reference in New Issue
Block a user