using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model
{
///
/// 人员信息档案
///
public class SitePersonPersonItem
{
///
/// 主键
///
public string PersonId { get; set; }
///
/// 卡号
///
public string CardNo { get; set; }
///
/// 人员姓名
///
[Required(ErrorMessage = "人员姓名PersonName is required.")]
public string PersonName { get; set; }
///
/// 性别(1男 0女)
///
public string Sex { get; set; }
///
/// 身份证号
///
[Required(ErrorMessage = "身份证号IdentityCard is required.")]
public string IdentityCard { get; set; }
///
/// 家庭地址
///
public string Address { get; set; }
///
/// 项目名称
///
[Required(ErrorMessage = "项目名称ProjectId is required.")]
public string ProjectId { get; set; }
///
/// 单位名称
///
[Required(ErrorMessage = "单位名称UnitId is required.")]
public string UnitId { get; set; }
///
/// 所在班组名称
///
public string TeamGroupId { get; set; }
///
/// 单位工程名称
///
public string WorkAreaId { get; set; }
///
/// 岗位名称
///
[Required(ErrorMessage = "岗位WorkPostId is required.")]
public string WorkPostId { get; set; }
///
/// 入场时间
///
public DateTime? InTime { get; set; }
///
/// 出场时间
///
public DateTime? OutTime { get; set; }
///
/// 出场原因
///
public string OutResult { get; set; }
///
/// 电话
///
public string Telephone { get; set; }
///
/// 职务
///
public string PositionId { get; set; }
///
/// 职称
///
public string PostTitleId { get; set; }
///
/// 照片路径
///
public string PhotoUrl { get; set; }
///
/// 人员是否启用(1是 0否)
///
public bool IsUsed { get; set; }
///
/// 考勤卡是否启用
///
public bool IsCardUsed { get; set; }
/////
/////
/////
//public int? PersonIndex { get; set; }
/////
/////
/////
//public string DepartId { get; set; }
/////
/////
/////
//public string CertificateId { get; set; }
/////
/////
/////
//public string CertificateCode { get; set; }
/////
/////
/////
//public DateTime? CertificateLimitTime { get; set; }
/////
/////
/////
//public string QualificationCertificateUrl { get; set; }
/////
/////
/////
//public string TrainingCertificateUrl { get; set; }
/////
/////
/////
//public string QRCodeAttachUrl { get; set; }
/////
/////
/////
//public string Password { get; set; }
/////
/////
/////
//public string FromPersonId { get; set; }
/////
/////
/////
//public string AuditorId { get; set; }
/////
/////
/////
//public DateTime? AuditorDate { get; set; }
/////
/////
/////
//public DateTime? ExchangeTime { get; set; }
/////
/////
/////
//public DateTime? ExchangeTime2 { get; set; }
/////
/////
/////
//public string IDCardUrl { get; set; }
/////
/////
/////
//public string Isprint { get; set; }
///
/// 是否外籍
///
public bool? IsForeign { get; set; }
///
/// 是否外聘
///
public bool? IsOutside { get; set; }
/////
/////
/////
//public string WelderCode { get; set; }
///
/// 生日
///
public DateTime? Birthday { get; set; }
/////
/////
/////
//public string WelderLevel { get; set; }
/////
/////
/////
//public string Remark { get; set; }
///
/// 主专业
///
public string MainCNProfessionalId { get; set; }
///
/// 副专业
///
public string ViceCNProfessionalId { get; set; }
///
/// 文化程度
///
public string EduLevel { get; set; }
///
/// 婚姻状况
///
public string MaritalStatus { get; set; }
/////
///// 证件类型(baseinfo/getIdcardType 获取证件类型 取值Dictcode)
/////
//[Required(ErrorMessage = "证件类型IdcardType is required.")]
//public string IdcardType { get; set; }
///
/// 证件开始时间
///
public DateTime? IdcardStartDate { get; set; }
///
/// 证件结束时间
///
public DateTime? IdcardEndDate { get; set; }
///
/// 证件是否永久有效
///
public string IdcardForever { get; set; }
///
/// 政治面貌
///
public string PoliticsStatus { get; set; }
///
/// 发证机关
///
public string IdcardAddress { get; set; }
///
/// 民族
///
public string Nation { get; set; }
///
/// 国家
///
public string CountryCode { get; set; }
///
/// 省份
///
public string ProvinceCode { get; set; }
///
/// 照片base64
///
public byte[] HeadImage { get; set; }
///
/// 与实名制系统推送时间
///
public DateTime? RealNameAddTime { get; set; }
///
/// 与实名制系统推送时间
///
public DateTime? RealNameUpdateTime { get; set; }
/////
/////
/////
//public bool? IsCardNoOK { get; set; }
/////
/////
/////
//public string RawPassword { get; set; }
///
/// 安全监护
///
public bool? IsSafetyMonitoring { get; set; }
}
}