using System;
|
using CY.Infrastructure.Domain;
|
using CY.Infrastructure.Common;
|
namespace CY.Model
|
{
|
/// <summary>
|
///办公系统员工表
|
/// </summary>
|
[Serializable]
|
public partial class OA_Staff : IAggregateRoot
|
{
|
public OA_Staff()
|
{
|
}
|
|
#region Model
|
|
private int? _keyid;
|
private Guid _firmid;
|
private string _name;
|
private string _sex;
|
private string _staffusername;
|
private string _staffuserpwd;
|
private string _mobienum;
|
private string _qq;
|
private string _phonenum;
|
private string _email;
|
private string _status;
|
private DateTime? _lastupdatetime;
|
private string _operator;
|
private string _remark;
|
private Guid _memberid;
|
private bool _isbusinessmanager;
|
private bool _isaccountmanager;
|
private int? _departmentid;
|
private string _sm_number;
|
private string _sm_spousename;
|
private string _sm_spousephone;
|
private string _sm_otherlog;
|
private string _sm_post;
|
private string _sm_degree;
|
private DateTime? _sm_startworktime;
|
private string _sm_money;
|
private int? _sm_issocialsecurity;
|
private string _sm_socialsecuritytype;
|
private string _sm_socialsecuritynumber;
|
private int? _sm_iscontract;
|
private DateTime? _sm_contractstarttime;
|
private DateTime? _sm_contractendtime;
|
private int? _sm_endworkstatus;
|
private DateTime? _sm_endworkstarttime;
|
private DateTime? _sm_endworktime;
|
private string _sm_endworkcontent;
|
private string _sm_departmentheads;
|
private string _sm_administrationdepartment;
|
private string _sm_ministryfinance;
|
private string _sm_generalmanager;
|
private int? _sm_isimporting;
|
private int? _sm_isdelete;
|
private DateTime? _sm_birthday;
|
private string _sm_idcardnum;
|
private string _sm_idcardpic;
|
private string _sm_certificatetype;
|
private string _sm_certificatepic;
|
private string _sm_nowprovince;
|
private string _sm_nowcity;
|
private string _sm_nowarea;
|
private string _sm_nowaddress;
|
private string _sm_oldprovence;
|
private string _sm_oldcity;
|
private string _sm_oldarea;
|
private string _sm_oldadress;
|
private string _manageprovince;
|
private string _managecity;
|
private string _managecountry;
|
private string _managecountry1;
|
public string RoleName { get; set; }
|
/// <summary>
|
/// 员工编号
|
/// </summary>
|
public int? Keyid
|
{
|
get
|
{
|
return _keyid;
|
}
|
set
|
{
|
_keyid = value;
|
}
|
}
|
/// <summary>
|
/// 所属厂商编号
|
/// </summary>
|
public Guid FirmId
|
{
|
get
|
{
|
return _firmid;
|
}
|
set
|
{
|
_firmid = value;
|
}
|
}
|
/// <summary>
|
/// 姓名
|
/// </summary>
|
public string Name
|
{
|
get
|
{
|
return _name;
|
}
|
set
|
{
|
_name = value;
|
}
|
}
|
/// <summary>
|
/// 性别
|
/// </summary>
|
public string Sex
|
{
|
get
|
{
|
return _sex;
|
}
|
set
|
{
|
_sex = value;
|
}
|
}
|
/// <summary>
|
/// 登录账号
|
/// </summary>
|
public string StaffUserName
|
{
|
get
|
{
|
return _staffusername;
|
}
|
set
|
{
|
_staffusername = value;
|
}
|
}
|
/// <summary>
|
/// 密码
|
/// </summary>
|
public string StaffUserPwd
|
{
|
get
|
{
|
return _staffuserpwd;
|
}
|
set
|
{
|
_staffuserpwd = value;
|
}
|
}
|
/// <summary>
|
/// 手机
|
/// </summary>
|
public string MobieNum
|
{
|
get
|
{
|
return _mobienum;
|
}
|
set
|
{
|
_mobienum = value;
|
}
|
}
|
/// <summary>
|
/// QQ
|
/// </summary>
|
public string QQ
|
{
|
get
|
{
|
return _qq;
|
}
|
set
|
{
|
_qq = value;
|
}
|
}
|
/// <summary>
|
/// 联系电话
|
/// </summary>
|
public string PhoneNum
|
{
|
get
|
{
|
return _phonenum;
|
}
|
set
|
{
|
_phonenum = value;
|
}
|
}
|
/// <summary>
|
/// Email
|
/// </summary>
|
public string Email
|
{
|
get
|
{
|
return _email;
|
}
|
set
|
{
|
_email = value;
|
}
|
}
|
/// <summary>
|
/// 状态
|
/// </summary>
|
public string Status
|
{
|
get
|
{
|
return _status;
|
}
|
set
|
{
|
_status = value;
|
}
|
}
|
/// <summary>
|
/// 最后修改时间
|
/// </summary>
|
public DateTime? LastUpdateTime
|
{
|
get
|
{
|
return _lastupdatetime;
|
}
|
set
|
{
|
_lastupdatetime = value;
|
}
|
}
|
/// <summary>
|
/// 操作人
|
/// </summary>
|
public string Operator
|
{
|
get
|
{
|
return _operator;
|
}
|
set
|
{
|
_operator = value;
|
}
|
}
|
/// <summary>
|
/// 备注
|
/// </summary>
|
public string Remark
|
{
|
get
|
{
|
return _remark;
|
}
|
set
|
{
|
_remark = value;
|
}
|
}
|
/// <summary>
|
/// 关联会员
|
/// </summary>
|
public Guid MemberId
|
{
|
get
|
{
|
return _memberid;
|
}
|
set
|
{
|
_memberid = value;
|
}
|
}
|
/// <summary>
|
/// IsBusinessManager
|
/// </summary>
|
public bool IsBusinessManager
|
{
|
get
|
{
|
return _isbusinessmanager;
|
}
|
set
|
{
|
_isbusinessmanager = value;
|
}
|
}
|
/// <summary>
|
/// IsAccountManager
|
/// </summary>
|
public bool IsAccountManager
|
{
|
get
|
{
|
return _isaccountmanager;
|
}
|
set
|
{
|
_isaccountmanager = value;
|
}
|
}
|
|
/// <summary>
|
/// BF_IsDriver
|
/// </summary>
|
public bool BF_IsDriver
|
{
|
get;
|
|
set;
|
}
|
/// <summary>
|
/// BF_IsDeliverManage
|
/// </summary>
|
public bool BF_IsDeliverManage
|
{
|
get;
|
|
set;
|
}
|
/// <summary>
|
/// BF_IsBaoxiaozhuguan
|
/// </summary>
|
public bool BF_IsBaoxiaozhuguan
|
{
|
get;
|
|
set;
|
}
|
|
/// <summary>
|
/// BF_Isbaoxiaojingli
|
/// </summary>
|
public bool BF_Isbaoxiaojingli
|
{
|
get;
|
|
set;
|
}
|
|
/// <summary>
|
/// BF_IsGongwen
|
/// </summary>
|
public bool? BF_IsGongwen
|
{
|
get;
|
|
set;
|
}
|
|
/// <summary>
|
/// BF_IsChangyongziliao
|
/// </summary>
|
public bool? BF_IsChangyongziliao
|
{
|
get;
|
|
set;
|
}
|
|
/// <summary>
|
/// 所在部门
|
/// </summary>
|
public int? DepartmentId
|
{
|
get
|
{
|
return _departmentid;
|
}
|
set
|
{
|
_departmentid = value;
|
}
|
}
|
/// <summary>
|
/// 个人档案唯一编码
|
/// </summary>
|
public string SM_Number
|
{
|
get
|
{
|
return _sm_number;
|
}
|
set
|
{
|
_sm_number = value;
|
}
|
}
|
/// <summary>
|
/// 爱人姓名
|
/// </summary>
|
public string SM_SpouseName
|
{
|
get
|
{
|
return _sm_spousename;
|
}
|
set
|
{
|
_sm_spousename = value;
|
}
|
}
|
/// <summary>
|
/// 爱人电话
|
/// </summary>
|
public string SM_SpousePhone
|
{
|
get
|
{
|
return _sm_spousephone;
|
}
|
set
|
{
|
_sm_spousephone = value;
|
}
|
}
|
/// <summary>
|
/// 其他记录
|
/// </summary>
|
public string SM_OtherLog
|
{
|
get
|
{
|
return _sm_otherlog;
|
}
|
set
|
{
|
_sm_otherlog = value;
|
}
|
}
|
/// <summary>
|
/// 职务
|
/// </summary>
|
public string SM_Post
|
{
|
get
|
{
|
return _sm_post;
|
}
|
set
|
{
|
_sm_post = value;
|
}
|
}
|
/// <summary>
|
/// 学历
|
/// </summary>
|
public string SM_Degree
|
{
|
get
|
{
|
return _sm_degree;
|
}
|
set
|
{
|
_sm_degree = value;
|
}
|
}
|
/// <summary>
|
/// 入职时间
|
/// </summary>
|
public DateTime? SM_StartWorkTime
|
{
|
get
|
{
|
return _sm_startworktime;
|
}
|
set
|
{
|
_sm_startworktime = value;
|
}
|
}
|
/// <summary>
|
/// 薪资待遇
|
/// </summary>
|
public string SM_Money
|
{
|
get
|
{
|
return _sm_money;
|
}
|
set
|
{
|
_sm_money = value;
|
}
|
}
|
/// <summary>
|
/// 是否购买社保/是1,否2
|
/// </summary>
|
public int? SM_IsSocialSecurity
|
{
|
get
|
{
|
return _sm_issocialsecurity;
|
}
|
set
|
{
|
_sm_issocialsecurity = value;
|
}
|
}
|
/// <summary>
|
/// 社保类型
|
/// </summary>
|
public string SM_SocialSecurityType
|
{
|
get
|
{
|
return _sm_socialsecuritytype;
|
}
|
set
|
{
|
_sm_socialsecuritytype = value;
|
}
|
}
|
/// <summary>
|
/// 社保卡号
|
/// </summary>
|
public string SM_SocialSecurityNumber
|
{
|
get
|
{
|
return _sm_socialsecuritynumber;
|
}
|
set
|
{
|
_sm_socialsecuritynumber = value;
|
}
|
}
|
/// <summary>
|
/// 社保-参保时间
|
/// </summary>
|
public DateTime? SM_SocialSecurityTime
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 社保-缴纳金额
|
/// </summary>
|
public decimal? SM_SocialSecurityAllMoney
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 社保-公司缴费
|
/// </summary>
|
public decimal? SM_SocialSecurityFirmMoney
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 社保-个人缴费
|
/// </summary>
|
public decimal? SM_SocialSecuritySelfMoney
|
{
|
get;
|
set;
|
}
|
/// <summary>
|
/// 是否签订合同/是1,否2
|
/// </summary>
|
public int? SM_IsContract
|
{
|
get
|
{
|
return _sm_iscontract;
|
}
|
set
|
{
|
_sm_iscontract = value;
|
}
|
}
|
/// <summary>
|
/// 合同签订时间
|
/// </summary>
|
public DateTime? SM_ContractStartTime
|
{
|
get
|
{
|
return _sm_contractstarttime;
|
}
|
set
|
{
|
_sm_contractstarttime = value;
|
}
|
}
|
/// <summary>
|
/// 合同到期时间
|
/// </summary>
|
public DateTime? SM_ContractEndTime
|
{
|
get
|
{
|
return _sm_contractendtime;
|
}
|
set
|
{
|
_sm_contractendtime = value;
|
}
|
}
|
/// <summary>
|
/// 离职审批/在职0,申请中1,同意离职2,拒绝申请3
|
/// </summary>
|
public int? SM_EndWorkStatus
|
{
|
get
|
{
|
return _sm_endworkstatus;
|
}
|
set
|
{
|
_sm_endworkstatus = value;
|
}
|
}
|
/// <summary>
|
/// 离职申请时间
|
/// </summary>
|
public DateTime? SM_EndWorkStartTime
|
{
|
get
|
{
|
return _sm_endworkstarttime;
|
}
|
set
|
{
|
_sm_endworkstarttime = value;
|
}
|
}
|
/// <summary>
|
/// 离职时间
|
/// </summary>
|
public DateTime? SM_EndWorkTime
|
{
|
get
|
{
|
return _sm_endworktime;
|
}
|
set
|
{
|
_sm_endworktime = value;
|
}
|
}
|
/// <summary>
|
/// 离职原因
|
/// </summary>
|
public string SM_EndWorkContent
|
{
|
get
|
{
|
return _sm_endworkcontent;
|
}
|
set
|
{
|
_sm_endworkcontent = value;
|
}
|
}
|
/// <summary>
|
/// 部门主管签字
|
/// </summary>
|
public string SM_DepartmentHeads
|
{
|
get
|
{
|
return _sm_departmentheads;
|
}
|
set
|
{
|
_sm_departmentheads = value;
|
}
|
}
|
/// <summary>
|
/// 行政部签字
|
/// </summary>
|
public string SM_AdministrationDepartment
|
{
|
get
|
{
|
return _sm_administrationdepartment;
|
}
|
set
|
{
|
_sm_administrationdepartment = value;
|
}
|
}
|
/// <summary>
|
/// 财务部签字
|
/// </summary>
|
public string SM_MinistryFinance
|
{
|
get
|
{
|
return _sm_ministryfinance;
|
}
|
set
|
{
|
_sm_ministryfinance = value;
|
}
|
}
|
/// <summary>
|
/// 总经理签字
|
/// </summary>
|
public string SM_GeneralManager
|
{
|
get
|
{
|
return _sm_generalmanager;
|
}
|
set
|
{
|
_sm_generalmanager = value;
|
}
|
}
|
/// <summary>
|
/// 是否导入/是1,否2
|
/// </summary>
|
public int? SM_IsImporting
|
{
|
get
|
{
|
return _sm_isimporting;
|
}
|
set
|
{
|
_sm_isimporting = value;
|
}
|
}
|
/// <summary>
|
/// 是否删除/是1,否2
|
/// </summary>
|
public int? SM_IsDelete
|
{
|
get
|
{
|
return _sm_isdelete;
|
}
|
set
|
{
|
_sm_isdelete = value;
|
}
|
}
|
/// <summary>
|
/// 出生日期
|
/// </summary>
|
public DateTime? SM_Birthday
|
{
|
get
|
{
|
return _sm_birthday;
|
}
|
set
|
{
|
_sm_birthday = value;
|
}
|
}
|
/// <summary>
|
/// 身份证号码
|
/// </summary>
|
public string SM_IDCardNum
|
{
|
get
|
{
|
return _sm_idcardnum;
|
}
|
set
|
{
|
_sm_idcardnum = value;
|
}
|
}
|
/// <summary>
|
/// 身份证图片
|
/// </summary>
|
public string SM_IDCardPic
|
{
|
get
|
{
|
return _sm_idcardpic;
|
}
|
set
|
{
|
_sm_idcardpic = value;
|
}
|
}
|
/// <summary>
|
/// 证书类型
|
/// </summary>
|
public string SM_CertificateType
|
{
|
get
|
{
|
return _sm_certificatetype;
|
}
|
set
|
{
|
_sm_certificatetype = value;
|
}
|
}
|
/// <summary>
|
/// 证书图片
|
/// </summary>
|
public string SM_CertificatePic
|
{
|
get
|
{
|
return _sm_certificatepic;
|
}
|
set
|
{
|
_sm_certificatepic = value;
|
}
|
}
|
/// <summary>
|
/// 现居省
|
/// </summary>
|
public string SM_NowProvince
|
{
|
get
|
{
|
return _sm_nowprovince;
|
}
|
set
|
{
|
_sm_nowprovince = value;
|
}
|
}
|
/// <summary>
|
/// 现居市
|
/// </summary>
|
public string SM_NowCity
|
{
|
get
|
{
|
return _sm_nowcity;
|
}
|
set
|
{
|
_sm_nowcity = value;
|
}
|
}
|
/// <summary>
|
/// 现居区
|
/// </summary>
|
public string SM_NowArea
|
{
|
get
|
{
|
return _sm_nowarea;
|
}
|
set
|
{
|
_sm_nowarea = value;
|
}
|
}
|
/// <summary>
|
/// 现居地址
|
/// </summary>
|
public string SM_NowAddress
|
{
|
get
|
{
|
return _sm_nowaddress;
|
}
|
set
|
{
|
_sm_nowaddress = value;
|
}
|
}
|
/// <summary>
|
/// 籍贯省
|
/// </summary>
|
public string SM_OldProvence
|
{
|
get
|
{
|
return _sm_oldprovence;
|
}
|
set
|
{
|
_sm_oldprovence = value;
|
}
|
}
|
/// <summary>
|
/// 籍贯市
|
/// </summary>
|
public string SM_OldCity
|
{
|
get
|
{
|
return _sm_oldcity;
|
}
|
set
|
{
|
_sm_oldcity = value;
|
}
|
}
|
/// <summary>
|
/// 籍贯区
|
/// </summary>
|
public string SM_OldArea
|
{
|
get
|
{
|
return _sm_oldarea;
|
}
|
set
|
{
|
_sm_oldarea = value;
|
}
|
}
|
/// <summary>
|
/// 籍贯地址
|
/// </summary>
|
public string SM_OldAdress
|
{
|
get
|
{
|
return _sm_oldadress;
|
}
|
set
|
{
|
_sm_oldadress = value;
|
}
|
}
|
/// <summary>
|
/// 管理省
|
/// </summary>
|
public string ManageProvince
|
{
|
get
|
{
|
return _manageprovince;
|
}
|
set
|
{
|
_manageprovince = value;
|
}
|
}
|
/// <summary>
|
/// 管理市
|
/// </summary>
|
public string ManageCity
|
{
|
get
|
{
|
return _managecity;
|
}
|
set
|
{
|
_managecity = value;
|
}
|
}
|
/// <summary>
|
/// 管理区
|
/// </summary>
|
public string ManageCountry
|
{
|
get
|
{
|
return _managecountry;
|
}
|
set
|
{
|
_managecountry = value;
|
}
|
}
|
/// <summary>
|
/// 管理区1
|
/// </summary>
|
public string ManageCountry1
|
{
|
get
|
{
|
return _managecountry1;
|
}
|
set
|
{
|
_managecountry1 = value;
|
}
|
}
|
/// <summary>
|
/// 部门名称
|
/// </summary>
|
public string DepartmentName
|
{
|
get;
|
set;
|
}
|
|
#endregion Model
|
|
#region Visiter
|
|
/// <summary>
|
/// 属性访问器
|
/// </summary>
|
/// <param name="name">属性名</param>
|
/// <param name="index">索引</param>
|
/// <param name="isChange">是否将指定属性设置为传入值</param>
|
/// <param name="value">需要赋予的值</param>
|
/// <returns>与名称对应的属性值</returns>
|
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 ("Name".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 3)
|
{
|
this.Name = isChange ? MyConvert.ConvertToString(value) : Name;
|
theValue = this.Name;
|
}
|
else if ("Sex".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 4)
|
{
|
this.Sex = isChange ? MyConvert.ConvertToString(value) : Sex;
|
theValue = this.Sex;
|
}
|
else if ("StaffUserName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 5)
|
{
|
this.StaffUserName = isChange ? MyConvert.ConvertToString(value) : StaffUserName;
|
theValue = this.StaffUserName;
|
}
|
else if ("StaffUserPwd".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 6)
|
{
|
this.StaffUserPwd = isChange ? MyConvert.ConvertToString(value) : StaffUserPwd;
|
theValue = this.StaffUserPwd;
|
}
|
else if ("MobieNum".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 7)
|
{
|
this.MobieNum = isChange ? MyConvert.ConvertToString(value) : MobieNum;
|
theValue = this.MobieNum;
|
}
|
else if ("QQ".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 8)
|
{
|
this.QQ = isChange ? MyConvert.ConvertToString(value) : QQ;
|
theValue = this.QQ;
|
}
|
else if ("PhoneNum".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 9)
|
{
|
this.PhoneNum = isChange ? MyConvert.ConvertToString(value) : PhoneNum;
|
theValue = this.PhoneNum;
|
}
|
else if ("Email".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
|
{
|
this.Email = isChange ? MyConvert.ConvertToString(value) : Email;
|
theValue = this.Email;
|
}
|
else if ("Status".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 11)
|
{
|
this.Status = isChange ? MyConvert.ConvertToString(value) : Status;
|
theValue = this.Status;
|
}
|
else if ("LastUpdateTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 12)
|
{
|
this.LastUpdateTime = isChange ? MyConvert.ConvertToDateTime(value) : LastUpdateTime;
|
theValue = this.LastUpdateTime;
|
}
|
else if ("Operator".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 13)
|
{
|
this.Operator = isChange ? MyConvert.ConvertToString(value) : Operator;
|
theValue = this.Operator;
|
}
|
else if ("Remark".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 14)
|
{
|
this.Remark = isChange ? MyConvert.ConvertToString(value) : Remark;
|
theValue = this.Remark;
|
}
|
else if ("MemberId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 15)
|
{
|
this.MemberId = isChange ? MyConvert.ConvertToGuid(value) : MemberId;
|
theValue = this.MemberId;
|
}
|
else if ("IsBusinessManager".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 16)
|
{
|
this.IsBusinessManager = isChange ? MyConvert.ConvertToBoolean(value) : IsBusinessManager;
|
theValue = this.IsBusinessManager;
|
}
|
else if ("IsAccountManager".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 17)
|
{
|
this.IsAccountManager = isChange ? MyConvert.ConvertToBoolean(value) : IsAccountManager;
|
theValue = this.IsAccountManager;
|
}
|
else if ("DepartmentId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 18)
|
{
|
this.DepartmentId = isChange ? MyConvert.ConvertToInt(value) : DepartmentId;
|
theValue = this.DepartmentId;
|
}
|
else if ("SM_Number".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 19)
|
{
|
this.SM_Number = isChange ? MyConvert.ConvertToString(value) : SM_Number;
|
theValue = this.SM_Number;
|
}
|
else if ("SM_SpouseName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 20)
|
{
|
this.SM_SpouseName = isChange ? MyConvert.ConvertToString(value) : SM_SpouseName;
|
theValue = this.SM_SpouseName;
|
}
|
else if ("SM_SpousePhone".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 21)
|
{
|
this.SM_SpousePhone = isChange ? MyConvert.ConvertToString(value) : SM_SpousePhone;
|
theValue = this.SM_SpousePhone;
|
}
|
else if ("SM_OtherLog".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 22)
|
{
|
this.SM_OtherLog = isChange ? MyConvert.ConvertToString(value) : SM_OtherLog;
|
theValue = this.SM_OtherLog;
|
}
|
else if ("SM_Post".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 23)
|
{
|
this.SM_Post = isChange ? MyConvert.ConvertToString(value) : SM_Post;
|
theValue = this.SM_Post;
|
}
|
else if ("SM_Degree".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 24)
|
{
|
this.SM_Degree = isChange ? MyConvert.ConvertToString(value) : SM_Degree;
|
theValue = this.SM_Degree;
|
}
|
else if ("SM_StartWorkTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 25)
|
{
|
this.SM_StartWorkTime = isChange ? MyConvert.ConvertToDateTime(value) : SM_StartWorkTime;
|
theValue = this.SM_StartWorkTime;
|
}
|
else if ("SM_Money".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 26)
|
{
|
this.SM_Money = isChange ? MyConvert.ConvertToString(value) : SM_Money;
|
theValue = this.SM_Money;
|
}
|
else if ("SM_IsSocialSecurity".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 27)
|
{
|
this.SM_IsSocialSecurity = isChange ? MyConvert.ConvertToInt(value) : SM_IsSocialSecurity;
|
theValue = this.SM_IsSocialSecurity;
|
}
|
else if ("SM_SocialSecurityType".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 28)
|
{
|
this.SM_SocialSecurityType = isChange ? MyConvert.ConvertToString(value) : SM_SocialSecurityType;
|
theValue = this.SM_SocialSecurityType;
|
}
|
else if ("SM_SocialSecurityNumber".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 29)
|
{
|
this.SM_SocialSecurityNumber = isChange ? MyConvert.ConvertToString(value) : SM_SocialSecurityNumber;
|
theValue = this.SM_SocialSecurityNumber;
|
}
|
else if ("SM_IsContract".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 30)
|
{
|
this.SM_IsContract = isChange ? MyConvert.ConvertToInt(value) : SM_IsContract;
|
theValue = this.SM_IsContract;
|
}
|
else if ("SM_ContractStartTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 31)
|
{
|
this.SM_ContractStartTime = isChange ? MyConvert.ConvertToDateTime(value) : SM_ContractStartTime;
|
theValue = this.SM_ContractStartTime;
|
}
|
else if ("SM_ContractEndTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 32)
|
{
|
this.SM_ContractEndTime = isChange ? MyConvert.ConvertToDateTime(value) : SM_ContractEndTime;
|
theValue = this.SM_ContractEndTime;
|
}
|
else if ("SM_EndWorkStatus".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 33)
|
{
|
this.SM_EndWorkStatus = isChange ? MyConvert.ConvertToInt(value) : SM_EndWorkStatus;
|
theValue = this.SM_EndWorkStatus;
|
}
|
else if ("SM_EndWorkStartTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 34)
|
{
|
this.SM_EndWorkStartTime = isChange ? MyConvert.ConvertToDateTime(value) : SM_EndWorkStartTime;
|
theValue = this.SM_EndWorkStartTime;
|
}
|
else if ("SM_EndWorkTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 35)
|
{
|
this.SM_EndWorkTime = isChange ? MyConvert.ConvertToDateTime(value) : SM_EndWorkTime;
|
theValue = this.SM_EndWorkTime;
|
}
|
else if ("SM_EndWorkContent".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 36)
|
{
|
this.SM_EndWorkContent = isChange ? MyConvert.ConvertToString(value) : SM_EndWorkContent;
|
theValue = this.SM_EndWorkContent;
|
}
|
else if ("SM_DepartmentHeads".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 37)
|
{
|
this.SM_DepartmentHeads = isChange ? MyConvert.ConvertToString(value) : SM_DepartmentHeads;
|
theValue = this.SM_DepartmentHeads;
|
}
|
else if ("SM_AdministrationDepartment".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 38)
|
{
|
this.SM_AdministrationDepartment = isChange ? MyConvert.ConvertToString(value) : SM_AdministrationDepartment;
|
theValue = this.SM_AdministrationDepartment;
|
}
|
else if ("SM_MinistryFinance".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 39)
|
{
|
this.SM_MinistryFinance = isChange ? MyConvert.ConvertToString(value) : SM_MinistryFinance;
|
theValue = this.SM_MinistryFinance;
|
}
|
else if ("SM_GeneralManager".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 40)
|
{
|
this.SM_GeneralManager = isChange ? MyConvert.ConvertToString(value) : SM_GeneralManager;
|
theValue = this.SM_GeneralManager;
|
}
|
else if ("SM_IsImporting".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 41)
|
{
|
this.SM_IsImporting = isChange ? MyConvert.ConvertToInt(value) : SM_IsImporting;
|
theValue = this.SM_IsImporting;
|
}
|
else if ("SM_IsDelete".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 42)
|
{
|
this.SM_IsDelete = isChange ? MyConvert.ConvertToInt(value) : SM_IsDelete;
|
theValue = this.SM_IsDelete;
|
}
|
else if ("SM_Birthday".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 43)
|
{
|
this.SM_Birthday = isChange ? MyConvert.ConvertToDateTime(value) : SM_Birthday;
|
theValue = this.SM_Birthday;
|
}
|
else if ("SM_IDCardNum".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 44)
|
{
|
this.SM_IDCardNum = isChange ? MyConvert.ConvertToString(value) : SM_IDCardNum;
|
theValue = this.SM_IDCardNum;
|
}
|
else if ("SM_IDCardPic".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 45)
|
{
|
this.SM_IDCardPic = isChange ? MyConvert.ConvertToString(value) : SM_IDCardPic;
|
theValue = this.SM_IDCardPic;
|
}
|
else if ("SM_CertificateType".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 46)
|
{
|
this.SM_CertificateType = isChange ? MyConvert.ConvertToString(value) : SM_CertificateType;
|
theValue = this.SM_CertificateType;
|
}
|
else if ("SM_CertificatePic".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 47)
|
{
|
this.SM_CertificatePic = isChange ? MyConvert.ConvertToString(value) : SM_CertificatePic;
|
theValue = this.SM_CertificatePic;
|
}
|
else if ("SM_NowProvince".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 48)
|
{
|
this.SM_NowProvince = isChange ? MyConvert.ConvertToString(value) : SM_NowProvince;
|
theValue = this.SM_NowProvince;
|
}
|
else if ("SM_NowCity".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 49)
|
{
|
this.SM_NowCity = isChange ? MyConvert.ConvertToString(value) : SM_NowCity;
|
theValue = this.SM_NowCity;
|
}
|
else if ("SM_NowArea".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 50)
|
{
|
this.SM_NowArea = isChange ? MyConvert.ConvertToString(value) : SM_NowArea;
|
theValue = this.SM_NowArea;
|
}
|
else if ("SM_NowAddress".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 51)
|
{
|
this.SM_NowAddress = isChange ? MyConvert.ConvertToString(value) : SM_NowAddress;
|
theValue = this.SM_NowAddress;
|
}
|
else if ("SM_OldProvence".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 52)
|
{
|
this.SM_OldProvence = isChange ? MyConvert.ConvertToString(value) : SM_OldProvence;
|
theValue = this.SM_OldProvence;
|
}
|
else if ("SM_OldCity".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 53)
|
{
|
this.SM_OldCity = isChange ? MyConvert.ConvertToString(value) : SM_OldCity;
|
theValue = this.SM_OldCity;
|
}
|
else if ("SM_OldArea".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 54)
|
{
|
this.SM_OldArea = isChange ? MyConvert.ConvertToString(value) : SM_OldArea;
|
theValue = this.SM_OldArea;
|
}
|
else if ("SM_OldAdress".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 55)
|
{
|
this.SM_OldAdress = isChange ? MyConvert.ConvertToString(value) : SM_OldAdress;
|
theValue = this.SM_OldAdress;
|
}
|
else if ("ManageProvince".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 56)
|
{
|
this.ManageProvince = isChange ? MyConvert.ConvertToString(value) : ManageProvince;
|
theValue = this.ManageProvince;
|
}
|
else if ("ManageCity".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 57)
|
{
|
this.ManageCity = isChange ? MyConvert.ConvertToString(value) : ManageCity;
|
theValue = this.ManageCity;
|
}
|
else if ("ManageCountry".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 58)
|
{
|
this.ManageCountry = isChange ? MyConvert.ConvertToString(value) : ManageCountry;
|
theValue = this.ManageCountry;
|
}
|
else if ("ManageCountry1".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 59)
|
{
|
this.ManageCountry1 = isChange ? MyConvert.ConvertToString(value) : ManageCountry1;
|
theValue = this.ManageCountry1;
|
}
|
else if ("DepartmentName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 60)
|
{
|
this.DepartmentName = isChange ? MyConvert.ConvertToString(value) : DepartmentName;
|
theValue = this.DepartmentName;
|
}
|
else if ("SM_SocialSecurityTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 61)
|
{
|
this.SM_SocialSecurityTime = isChange ? MyConvert.ConvertToDateTime(value) : SM_SocialSecurityTime;
|
theValue = this.SM_SocialSecurityTime;
|
}
|
else if ("SM_SocialSecurityAllMoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 62)
|
{
|
this.SM_SocialSecurityAllMoney = isChange ? MyConvert.ConvertToDecimal(value) : SM_SocialSecurityAllMoney;
|
theValue = this.SM_SocialSecurityAllMoney;
|
}
|
else if ("SM_SocialSecurityFirmMoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 63)
|
{
|
this.SM_SocialSecurityFirmMoney = isChange ? MyConvert.ConvertToDecimal(value) : SM_SocialSecurityFirmMoney;
|
theValue = this.SM_SocialSecurityFirmMoney;
|
}
|
else if ("SM_SocialSecuritySelfMoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 64)
|
{
|
this.SM_SocialSecuritySelfMoney = isChange ? MyConvert.ConvertToDecimal(value) : SM_SocialSecuritySelfMoney;
|
theValue = this.SM_SocialSecuritySelfMoney;
|
}
|
else if ("BF_IsDriver".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 65)
|
{
|
this.BF_IsDriver = isChange ? MyConvert.ConvertToBoolean(value) : BF_IsDriver;
|
theValue = this.BF_IsDriver;
|
}
|
else if ("BF_IsDeliverManage".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 66)
|
{
|
this.BF_IsDeliverManage = isChange ? MyConvert.ConvertToBoolean(value) : BF_IsDeliverManage;
|
theValue = this.BF_IsDeliverManage;
|
}
|
else if ("BF_IsBaoxiaozhuguan".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 67)
|
{
|
this.BF_IsBaoxiaozhuguan = isChange ? MyConvert.ConvertToBoolean(value) : BF_IsBaoxiaozhuguan;
|
theValue = this.BF_IsBaoxiaozhuguan;
|
}
|
else if ("BF_Isbaoxiaojingli".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 68)
|
{
|
this.BF_Isbaoxiaojingli = isChange ? MyConvert.ConvertToBoolean(value) : BF_Isbaoxiaojingli;
|
theValue = this.BF_Isbaoxiaojingli;
|
}
|
else if ("BF_IsGongwen".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 69)
|
{
|
this.BF_IsGongwen = isChange ? MyConvert.ConvertToBoolean(value) : BF_IsGongwen;
|
theValue = this.BF_IsGongwen;
|
}
|
else if ("BF_IsChangyongziliao".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 70)
|
{
|
this.BF_IsChangyongziliao = isChange ? MyConvert.ConvertToBoolean(value) : BF_IsChangyongziliao;
|
theValue = this.BF_IsChangyongziliao;
|
}
|
|
return theValue;
|
}
|
|
#endregion Visiter
|
}
|
}
|