UserAttendanceRecords.cs 1.64 KB
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace HHECS.WorkHourStatistics.Dtos
{
    /// <summary>
    /// 用户数据记录
    /// </summary>
    //[Table("user_attendance_records")]
    public class UserAttendanceRecords
    {
        [Key]
        public string Id { get; set; } = null!;

        /// <summary>
        /// 工号
        /// </summary>
        [Column("Work_No")]
        public string WorkNo { get; set; } = null!;

        /// <summary>
        /// 姓名
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 所属部门
        /// </summary>
        [Column("Sys_Org_Code")]
        public string SysOrgCode { get; set; } = null!;

        /// <summary>
        /// 上班时间
        /// </summary>
        [Column("Working_Hours")]
        public DateTime? WorkingHours { get; set; }

        /// <summary>
        /// 下班时间
        /// </summary>
        [Column("Off_Duty_Hours")]
        public DateTime? OffDutyHours { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [Column("Create_By")]
        public string? CreateBy { get; set; }

        /// <summary>
        /// 更新日期
        /// </summary>
        [Column("Create_Time")]
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        [Column("Update_By")]
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 更新日期
        /// </summary>
        [Column("Update_Time")]
        public DateTime? UpdateTime { get; set; }
    }
}