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