26 lines
628 B
C#
26 lines
628 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace TIAM.Entities.Drivers;
|
|
|
|
public class UserProductJsonDetailModel
|
|
{
|
|
//public string Value { get; set; } = "ANYÁD!!!";
|
|
|
|
[NotMapped]
|
|
public List<UserProductToCar>? Cars { get; set; }
|
|
//public List<UserProductToCarTest>? Cars2 { get; set; }
|
|
|
|
public UserProductJsonDetailModel(){}
|
|
|
|
public UserProductJsonDetailModel(List<UserProductToCar>? cars)
|
|
{
|
|
Cars = cars;
|
|
//Cars2 = [new UserProductToCarTest()];
|
|
}
|
|
}
|
|
|
|
public class UserProductToCarTest
|
|
{
|
|
public string DisplayName { get; set; } = "dfasbhsftvfrv rvfe qvfr ";
|
|
}
|