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

27 lines
508 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
{
[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-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
}