Browse Source

Case, Update new fields

master
Tóthpál Csilla 4 years ago
parent
commit
23b8b663c3
  1. 4
      CoviDok/data/Case.cs
  2. 1
      CoviDok/data/Update.cs
  3. 37
      CoviDok/data/User.cs

4
CoviDok/data/Case.cs

@ -18,6 +18,10 @@ namespace CoviDok.data
public string Assignee { get; set; }
public string Title { get; set; }
public DateTime StartDate { get; set; } //amikor a tünetek kezdődtek
public DateTime CreatedDate { get; set; } //amikor a taskot létrehozták
public DateTime LastModificationDate { get; set; }
}

1
CoviDok/data/Update.cs

@ -10,6 +10,7 @@ namespace CoviDok.data
public string Id { get; set; }
public string Sender { get; set; }
public string Content { get; set; }
public DateTime CreatedDate { get; set; }
public ICollection<Image> Images = new List<Image>();
}

37
CoviDok/data/User.cs

@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace CoviDokClientX.Models
{
public class User
{
public string Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public Gender Gender { get; set; }
public Role Role { get; set; }
public string Email { get; set; }
public string Password { get; set; }
public string ConfirmPassword { get; set; }
public string Address { get; set; }
public string Phone { get; set; }
public DateTime RegistrationDate { get; set; }
public int? PictureId { get; set; }
public string PictureName { get; set; }
public string DisplayName
{
get
{
return $"{LastName} {FirstName}";
}
}
}
public enum Role { Doctor, Assistant, Parent, Child }
public enum Gender { Male, Female}
}
Loading…
Cancel
Save