mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 20:40:55 +00:00
d
This commit is contained in:
1 parent
568f360548
commit
c4182ec609
100 files changed
+2052
-3518
No files matched your search
@@ -0,0 +1,11 @@
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
|
||||
namespace CartriX.Api.DTOs.CartridgeModel
|
||||
{
|
||||
public class modelNameAndManufacturer(Entities.CartridgeModel cartridgeModel)
|
||||
{
|
||||
private readonly Entities.CartridgeModel _cartridgeModel = cartridgeModel;
|
||||
public string modelName { get => _cartridgeModel.name; }
|
||||
public string manufacturerName { get => _cartridgeModel.manufacturer?.name ?? "-"; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user