2021-12-10 03:04:48 +03:00
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Transactions;
|
|
|
|
|
using BlueWest.Collections;
|
|
|
|
|
using MapTo;
|
|
|
|
|
using BlueWest.Collections;
|
|
|
|
|
|
|
|
|
|
namespace BlueWest.Data
|
|
|
|
|
{
|
|
|
|
|
[UseUpdate]
|
|
|
|
|
[MapFrom(typeof(UserUpdateDto))]
|
2022-08-04 01:01:10 +03:00
|
|
|
|
public partial class User
|
2021-12-10 03:04:48 +03:00
|
|
|
|
{
|
2022-08-04 03:59:04 +03:00
|
|
|
|
public TimeSpan Id { get; } = TimeSpan.Zero;
|
|
|
|
|
public string Name { get; set; }
|
2021-12-10 03:04:48 +03:00
|
|
|
|
|
2022-08-04 03:59:04 +03:00
|
|
|
|
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()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
2022-08-04 03:59:04 +03:00
|
|
|
|
|
2021-12-10 03:04:48 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|