﻿using System;
using System.ComponentModel.DataAnnotations;

namespace EFCoreRepostioryTest
{
    /// <summary>
    /// 
    /// </summary>
    public class User
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
        public string id { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string user_name { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string password { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string mobile { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string user_type { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string email { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string school { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string company { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string active_flag { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string create_by { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTime? create_time { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string update_by { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTime? update_time { get; set; }
    }
}
