using System;
using System.ComponentModel.DataAnnotations;


namespace TestRibbon.Data
{
    public class UserDataBase
    {
       
        public string Username { get; set; }
       
        public string Password { get; set; }
    }
    public class UserData : UserDataBase
    {
        public static DateTime BirthDateNullValue { get; set; } = new DateTime(1970, 1, 1);
       
        public string Email { get; set; }
       
        public string Phone { get; set; }
        
        public DateTime BirthDate { get; set; } = BirthDateNullValue;
        public string Occupation { get; set; }
        public string Notes { get; set; }
    }
}
