using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models.Models.Engineering
{
    /// <summary>
    /// 团队成员
    /// </summary>
    public class TBL_Engineerning_TeamMember
    {
        /// <summary>
        /// id
        /// </summary>
        [Key, Column(TypeName = "int"), Comment("自增长"), DatabaseGenerated(DatabaseGeneratedOption.Identity)]

        public int ID { get; set; }

        /// <summary>
        ///链接到用户权限管理系统
        /// </summary>
        [Column(TypeName = "nvarchar(50)"), Comment("链接到用户权限管理系统")]
        public string UserID { get; set; }

        /// <summary>
        /// 用户名字
        /// </summary>
        [Column(TypeName = "nvarchar(100)"), Comment("用户名字")]
        public string UserName { get; set; }

        /// <summary>
        /// 部门
        /// </summary>
        [Column(TypeName = "int"), Comment("部门id")]
        public string DepartmentID { get; set; }
    }
}
