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

29 lines
515 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))]
/*
2022-08-17 23:21:00 +03:00
[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; }
2022-08-18 22:59:13 +03:00
public List<FinanceOp> 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
}