CodeLiturgy.Dashboard/BlueWest.Data/User/User.cs

27 lines
510 B
C#
Raw Normal View History

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))]
[UseUpdate]
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
}