36 lines
632 B
C#
36 lines
632 B
C#
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Transactions;
|
|
using BlueWest.Collections;
|
|
using MapTo;
|
|
using BlueWest.Collections;
|
|
|
|
namespace BlueWest.Data
|
|
{
|
|
[UseUpdate]
|
|
[MapFrom(typeof(UserUpdateDto))]
|
|
public partial class User
|
|
{
|
|
public TimeSpan Id { get; } = TimeSpan.Zero;
|
|
public string Name { get; set; }
|
|
|
|
public List<FinanceTransaction> FinanceTransactions { get; }
|
|
|
|
|
|
public User(TimeSpan id, string name)
|
|
{
|
|
Id = id;
|
|
Name = name;
|
|
}
|
|
|
|
public User()
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
|