Person.cs 1.09 KB
using FreeSql.DataAnnotations;
using System.ComponentModel.DataAnnotations;

namespace HHECS.WorkHourStatistics.Dtos
{
    /// <summary>
    /// 人员信息
    /// </summary>
    public class Person
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        [Column(IsPrimary = true)]
        public string Id { get; set; } = null!;

        /// <summary>
        /// 状态
        /// </summary>
        public string InvitedState { get; set; } = null!;

        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; } = null!;

        /// <summary>
        /// 工号
        /// </summary>
        public string Number { get; set; } = null!;

        /// <summary>
        /// 部门路径
        /// </summary>
        public string Virtual_departmentPath { get; set; } = null!;

        /// <summary>
        /// 职位Id
        /// </summary>
        public string JobId { get; set; } = null!;

        /// <summary>
        /// 职位名称
        /// </summary>
        public string JobName { get; set; } = null!;
    }
}