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_Department
    {
        /// <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 DepartmentName { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [Column(TypeName = "nvarchar(255)"), Comment("备注")]
        public string Remark { get; set; }
    }
}
