//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行时版本:4.0.30319.42000
//     Website: http://www.freesql.net
//     对此文件的更改可能会导致不正确的行为，并且如果
//     重新生成代码，这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace XHD.Core.Models {

	[JsonObject(MemberSerialization.OptIn)]
	public partial class hr_employee {

		[JsonProperty, Column(DbType = "varchar(50)", IsPrimary = true)]
		public string id { get; set; } = string.Empty;

		[JsonProperty]
		public string address { get; set; } = string.Empty;

		[JsonProperty, Column(DbType = "varchar(50)")]
		public string birthday { get; set; } = string.Empty;

		[JsonProperty]
		public int? canlogin { get; set; }

		[JsonProperty, Column(DbType = "varchar(50)")]
		public string create_id { get; set; } = string.Empty;

		[JsonProperty]
		public DateTime? create_time { get; set; }

		[JsonProperty, Column(DbType = "varchar(50)")]
		public string default_city { get; set; } = string.Empty;

		[JsonProperty, Column(DbType = "varchar(50)")]
		public string dep_id { get; set; } = string.Empty;

		[JsonProperty, Column(DbType = "nvarchar(50)")]
		public string education { get; set; } = string.Empty;

		[JsonProperty, Column(DbType = "varchar(50)")]
		public string email { get; set; } = string.Empty;

		[JsonProperty, Column(DbType = "varchar(50)")]
		public string EntryDate { get; set; } = string.Empty;

		[JsonProperty, Column(DbType = "varchar(50)")]
		public string idcard { get; set; } = string.Empty;

		[JsonProperty, Column(DbType = "nvarchar(50)")]
		public string name { get; set; } = string.Empty;

		[JsonProperty, Column(DbType = "varchar(50)")]
		public string position_id { get; set; } = string.Empty;

		[JsonProperty, Column(DbType = "varchar(50)")]
		public string post_id { get; set; } = string.Empty;

		[JsonProperty, Column(DbType = "nvarchar(50)")]
		public string professional { get; set; } = string.Empty;

		[JsonProperty, Column(DbType = "varchar(50)")]
		public string pwd { get; set; } = string.Empty;

		[JsonProperty]
		public string remarks { get; set; } = string.Empty;

		[JsonProperty]
		public string schools { get; set; } = string.Empty;

		[JsonProperty]
		public int? sex { get; set; } 

		[JsonProperty]
		public int? sort { get; set; }

		[JsonProperty]
		public int? status { get; set; } 

		[JsonProperty, Column(DbType = "varchar(50)")]
		public string tel { get; set; } = string.Empty;

		[JsonProperty, Column(DbType = "varchar(50)")]
		public string uid { get; set; } = string.Empty;

		[JsonProperty]
		public hr_department department { get; set; }

		[JsonProperty]
		public hr_position position { get; set; }

	}

}
