using System;
using CY.Infrastructure.Domain;
using CY.Infrastructure.Common;
namespace CY.Model
{
///
///简历投递记录
///
[Serializable]
public partial class OA_StaffPostLog : IAggregateRoot
{
public OA_StaffPostLog()
{
}
#region Model
private int? _keyid;
private Guid _firmid;
private Guid _memberid;
private decimal? _resume_id;
private int? _recruitments_id;
private int? _pl_status;
private DateTime? _pl_creattime;
private int? _pl_lookstatus;
private DateTime? _pl_looktime;
private int? _pl_replystatus;
private DateTime? _pl_replytime;
private string _pl_replycontent;
private int? _pl_invitestatus;
private DateTime? _pl_invitecreattime;
private string _pl_invitetime;
private string _pl_inviteplace;
private string _pl_invitepeople;
private string _pl_invitephone;
private string _pl_inviteremark;
private string _pl_invitecar;
private DateTime? _lastupdatetime;
private string _operator;
private string _remark;
///
/// 主键--标识ID
///
public int? Keyid
{
get
{
return _keyid;
}
set
{
_keyid = value;
}
}
///
/// 简历收取者
///
public Guid FirmId
{
get
{
return _firmid;
}
set
{
_firmid = value;
}
}
///
/// 简历投递者
///
public Guid MemberId
{
get
{
return _memberid;
}
set
{
_memberid = value;
}
}
///
/// 简历ID
///
public decimal? Resume_id
{
get
{
return _resume_id;
}
set
{
_resume_id = value;
}
}
///
/// 招聘信息ID
///
public int? Recruitments_id
{
get
{
return _recruitments_id;
}
set
{
_recruitments_id = value;
}
}
///
/// 状态/0已投递,1已阅读,2已邀请,3已回复,4已面试,5已导入
///
public int? PL_Status
{
get
{
return _pl_status;
}
set
{
_pl_status = value;
}
}
///
/// 简历投递时间
///
public DateTime? PL_CreatTime
{
get
{
return _pl_creattime;
}
set
{
_pl_creattime = value;
}
}
///
/// 阅读状态/0未阅读,1已阅读
///
public int? PL_LookStatus
{
get
{
return _pl_lookstatus;
}
set
{
_pl_lookstatus = value;
}
}
///
/// 阅读时间
///
public DateTime? PL_LookTime
{
get
{
return _pl_looktime;
}
set
{
_pl_looktime = value;
}
}
///
/// 回复状态/0未回复,1已回复
///
public int? PL_ReplyStatus
{
get
{
return _pl_replystatus;
}
set
{
_pl_replystatus = value;
}
}
///
/// 回复时间
///
public DateTime? PL_ReplyTime
{
get
{
return _pl_replytime;
}
set
{
_pl_replytime = value;
}
}
///
/// 回复内容
///
public string PL_ReplyContent
{
get
{
return _pl_replycontent;
}
set
{
_pl_replycontent = value;
}
}
///
/// 面试邀请状态/0未邀请,1已邀请
///
public int? PL_InviteStatus
{
get
{
return _pl_invitestatus;
}
set
{
_pl_invitestatus = value;
}
}
///
/// 面试通知时间
///
public DateTime? PL_InviteCreatTime
{
get
{
return _pl_invitecreattime;
}
set
{
_pl_invitecreattime = value;
}
}
///
/// 面试时间
///
public string PL_InviteTime
{
get
{
return _pl_invitetime;
}
set
{
_pl_invitetime = value;
}
}
///
/// 面试地点
///
public string PL_InvitePlace
{
get
{
return _pl_inviteplace;
}
set
{
_pl_inviteplace = value;
}
}
///
/// 面试联系人
///
public string PL_InvitePeople
{
get
{
return _pl_invitepeople;
}
set
{
_pl_invitepeople = value;
}
}
///
/// 面试联系电话
///
public string PL_InvitePhone
{
get
{
return _pl_invitephone;
}
set
{
_pl_invitephone = value;
}
}
///
/// 面试备注
///
public string PL_InviteRemark
{
get
{
return _pl_inviteremark;
}
set
{
_pl_inviteremark = value;
}
}
///
/// 面试乘车路线
///
public string PL_InviteCar
{
get
{
return _pl_invitecar;
}
set
{
_pl_invitecar = value;
}
}
///
/// 最后修改时间
///
public DateTime? LastUpdateTime
{
get
{
return _lastupdatetime;
}
set
{
_lastupdatetime = value;
}
}
///
/// 操作人
///
public string Operator
{
get
{
return _operator;
}
set
{
_operator = value;
}
}
///
/// 备注
///
public string Remark
{
get
{
return _remark;
}
set
{
_remark = value;
}
}
///
/// 姓名
///
public string R_G_Name
{
get;
set;
}
///
/// 性别
///
public string R_G_Sex
{
get;
set;
}
///
/// 出生日期
///
public string R_G_DocumentsType
{
get;
set;
}
///
/// 学历
///
public string R_G_Degree
{
get;
set;
}
///
/// 工作年限
///
public string R_G_WorkYear
{
get;
set;
}
///
/// 职位
///
public string P_Name
{
get;
set;
}
///
/// 招聘公司
///
public string MP_CompanyName
{
get;
set;
}
#endregion Model
#region Visiter
///
/// 属性访问器
///
/// 属性名
/// 索引
/// 是否将指定属性设置为传入值
/// 需要赋予的值
/// 与名称对应的属性值
public object Visiter(string name, int? index = -1, bool isChange = false, object value = null)
{
object theValue = null;
if ("Keyid".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 1)
{
this.Keyid = isChange ? MyConvert.ConvertToInt(value) : Keyid;
theValue = this.Keyid;
}
else if ("FirmId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 2)
{
this.FirmId = isChange ? MyConvert.ConvertToGuid(value) : FirmId;
theValue = this.FirmId;
}
else if ("MemberId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 3)
{
this.MemberId = isChange ? MyConvert.ConvertToGuid(value) : MemberId;
theValue = this.MemberId;
}
else if ("Resume_id".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 4)
{
this.Resume_id = isChange ? MyConvert.ConvertToDecimal(value) : Resume_id;
theValue = this.Resume_id;
}
else if ("Recruitments_id".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 5)
{
this.Recruitments_id = isChange ? MyConvert.ConvertToInt(value) : Recruitments_id;
theValue = this.Recruitments_id;
}
else if ("PL_Status".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 6)
{
this.PL_Status = isChange ? MyConvert.ConvertToInt(value) : PL_Status;
theValue = this.PL_Status;
}
else if ("PL_CreatTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 7)
{
this.PL_CreatTime = isChange ? MyConvert.ConvertToDateTime(value) : PL_CreatTime;
theValue = this.PL_CreatTime;
}
else if ("PL_LookStatus".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 8)
{
this.PL_LookStatus = isChange ? MyConvert.ConvertToInt(value) : PL_LookStatus;
theValue = this.PL_LookStatus;
}
else if ("PL_LookTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 9)
{
this.PL_LookTime = isChange ? MyConvert.ConvertToDateTime(value) : PL_LookTime;
theValue = this.PL_LookTime;
}
else if ("PL_ReplyStatus".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
{
this.PL_ReplyStatus = isChange ? MyConvert.ConvertToInt(value) : PL_ReplyStatus;
theValue = this.PL_ReplyStatus;
}
else if ("PL_ReplyTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 11)
{
this.PL_ReplyTime = isChange ? MyConvert.ConvertToDateTime(value) : PL_ReplyTime;
theValue = this.PL_ReplyTime;
}
else if ("PL_ReplyContent".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 12)
{
this.PL_ReplyContent = isChange ? MyConvert.ConvertToString(value) : PL_ReplyContent;
theValue = this.PL_ReplyContent;
}
else if ("PL_InviteStatus".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 13)
{
this.PL_InviteStatus = isChange ? MyConvert.ConvertToInt(value) : PL_InviteStatus;
theValue = this.PL_InviteStatus;
}
else if ("PL_InviteCreatTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 14)
{
this.PL_InviteCreatTime = isChange ? MyConvert.ConvertToDateTime(value) : PL_InviteCreatTime;
theValue = this.PL_InviteCreatTime;
}
else if ("PL_InviteTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 15)
{
this.PL_InviteTime = isChange ? MyConvert.ConvertToString(value) : PL_InviteTime;
theValue = this.PL_InviteTime;
}
else if ("PL_InvitePlace".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 16)
{
this.PL_InvitePlace = isChange ? MyConvert.ConvertToString(value) : PL_InvitePlace;
theValue = this.PL_InvitePlace;
}
else if ("PL_InvitePeople".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 17)
{
this.PL_InvitePeople = isChange ? MyConvert.ConvertToString(value) : PL_InvitePeople;
theValue = this.PL_InvitePeople;
}
else if ("PL_InvitePhone".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 18)
{
this.PL_InvitePhone = isChange ? MyConvert.ConvertToString(value) : PL_InvitePhone;
theValue = this.PL_InvitePhone;
}
else if ("PL_InviteRemark".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 19)
{
this.PL_InviteRemark = isChange ? MyConvert.ConvertToString(value) : PL_InviteRemark;
theValue = this.PL_InviteRemark;
}
else if ("PL_InviteCar".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 20)
{
this.PL_InviteCar = isChange ? MyConvert.ConvertToString(value) : PL_InviteCar;
theValue = this.PL_InviteCar;
}
else if ("LastUpdateTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 21)
{
this.LastUpdateTime = isChange ? MyConvert.ConvertToDateTime(value) : LastUpdateTime;
theValue = this.LastUpdateTime;
}
else if ("Operator".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 22)
{
this.Operator = isChange ? MyConvert.ConvertToString(value) : Operator;
theValue = this.Operator;
}
else if ("Remark".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 23)
{
this.Remark = isChange ? MyConvert.ConvertToString(value) : Remark;
theValue = this.Remark;
}
else if ("R_G_Name".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 24)
{
this.R_G_Name = isChange ? MyConvert.ConvertToString(value) : R_G_Name;
theValue = this.R_G_Name;
}
else if ("R_G_Sex".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 25)
{
this.R_G_Sex = isChange ? MyConvert.ConvertToString(value) : R_G_Sex;
theValue = this.R_G_Sex;
}
else if ("R_G_DocumentsType".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 26)
{
this.R_G_DocumentsType = isChange ? MyConvert.ConvertToString(value) : R_G_DocumentsType;
theValue = this.R_G_DocumentsType;
}
else if ("R_G_Degree".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 27)
{
this.R_G_Degree = isChange ? MyConvert.ConvertToString(value) : R_G_Degree;
theValue = this.R_G_Degree;
}
else if ("R_G_WorkYear".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 28)
{
this.R_G_WorkYear = isChange ? MyConvert.ConvertToString(value) : R_G_WorkYear;
theValue = this.R_G_WorkYear;
}
else if ("P_Name".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 29)
{
this.P_Name = isChange ? MyConvert.ConvertToString(value) : P_Name;
theValue = this.P_Name;
}
else if ("MP_CompanyName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 30)
{
this.MP_CompanyName = isChange ? MyConvert.ConvertToString(value) : MP_CompanyName;
theValue = this.MP_CompanyName;
}
return theValue;
}
#endregion Visiter
}
}