2022-08-06 13:02:31 +03:00
|
|
|
|
using System;
|
2021-12-10 03:04:48 +03:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using MapTo;
|
|
|
|
|
|
|
|
|
|
namespace BlueWest.Data
|
|
|
|
|
{
|
2022-08-17 23:21:00 +03:00
|
|
|
|
[MapFrom( typeof(UserUpdateDto))]
|
2022-08-18 17:13:23 +03:00
|
|
|
|
/*
|
2022-08-17 23:21:00 +03:00
|
|
|
|
[UseUpdate]
|
2022-08-18 17:13:23 +03:00
|
|
|
|
*/
|
2022-08-04 01:01:10 +03:00
|
|
|
|
public partial class User
|
2021-12-10 03:04:48 +03:00
|
|
|
|
{
|
2022-08-06 13:02:31 +03:00
|
|
|
|
public TimeSpan Id { get; } = TimeSpan.Zero;
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
public List<FinanceTransaction> FinanceTransactions { get; }
|
2021-12-10 03:04:48 +03:00
|
|
|
|
|
|
|
|
|
|
2022-08-04 03:59:04 +03:00
|
|
|
|
public User(TimeSpan id, string name)
|
2021-12-10 03:04:48 +03:00
|
|
|
|
{
|
|
|
|
|
Id = id;
|
|
|
|
|
Name = name;
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-04 01:01:10 +03:00
|
|
|
|
public User()
|
|
|
|
|
{
|
|
|
|
|
}
|
2021-12-10 03:04:48 +03:00
|
|
|
|
}
|
2022-08-06 13:02:31 +03:00
|
|
|
|
}
|