using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace cylsg.Model.ECTEModel
{
///
/// 办公系统员工表
///
[Tenant( "ECTESTOADB")]
[SugarTable("Oa_Staff")]
public class OaStaff
{
///
/// 主键ID
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int Keyid { get; set; }
///
/// 所属厂商编号
///
[SugarColumn(ColumnName = "FirmId")]
public Guid FirmId { get; set; }
///
/// 姓名
///
[SugarColumn(ColumnName = "Name", Length = 20)]
public string Name { get; set; }
///
/// 性别
///
[SugarColumn(ColumnName = "Sex", Length = 4)]
public string Sex { get; set; }
///
/// 登录账号
///
[SugarColumn(ColumnName = "StaffUserName", Length = 20)]
public string StaffUserName { get; set; }
///
/// 密码
///
[SugarColumn(ColumnName = "StaffUserPwd", Length = 20)]
public string StaffUserPwd { get; set; }
///
/// 手机 ==对应用户ITCode
///
[SugarColumn(ColumnName = "MobieNum", Length = 20)]
public string MobieNum { get; set; }
///
/// QQ
///
[SugarColumn(ColumnName = "QQ", Length = 20)]
public string QQ { get; set; }
///
/// 联系电话
///
[SugarColumn(ColumnName = "PhoneNum", Length = 20)]
public string PhoneNum { get; set; }
///
/// Email
///
[SugarColumn(ColumnName = "Email", Length = 50)]
public string Email { get; set; }
///
/// 状态
///
[SugarColumn(ColumnName = "Status", Length = 10)]
public string Status { get; set; }
///
/// 最后修改时间
///
[SugarColumn(ColumnName = "LastUpdateTime")]
public DateTime LastUpdateTime { get; set; }
///
/// 操作人
///
[SugarColumn(ColumnName = "Operator", Length = 20)]
public string Operator { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "Remark", Length = 200)]
public string Remark { get; set; }
///
/// 关联会员
///
[SugarColumn(ColumnName = "MemberId")]
public Guid? MemberId { get; set; }
///
/// 是否为业务经理
///
[SugarColumn(ColumnName = "IsBusinessManager")]
public bool? IsBusinessManager { get; set; }
///
/// 是否为账户经理
///
[SugarColumn(ColumnName = "IsAccountManager")]
public bool? IsAccountManager { get; set; }
///
/// 部门ID
///
[SugarColumn(ColumnName = "DepartmentId")]
public int? DepartmentId { get; set; }
///
/// 部门
///
[Navigate(NavigateType.OneToOne,nameof( DepartmentId),nameof(OaDepartment.Keyid))]
public OaDepartment Department { get; set; }
///
/// 个人档案唯一编码
///
[SugarColumn(ColumnName = "SM_Number", Length = 50)]
public string SM_Number { get; set; }
///
/// 爱人姓名
///
[SugarColumn(ColumnName = "SM_SpouseName", Length = 50)]
public string SM_SpouseName { get; set; }
///
/// 爱人电话
///
[SugarColumn(ColumnName = "SM_SpousePhone", Length = 50)]
public string SM_SpousePhone { get; set; }
///
/// 其他记录
///
[SugarColumn(ColumnName = "SM_OtherLog")]
public string SM_OtherLog { get; set; }
///
/// 职务
///
[SugarColumn(ColumnName = "SM_Post", Length = 50)]
public string SM_Post { get; set; }
///
/// 学历
///
[SugarColumn(ColumnName = "SM_Degree", Length = 50)]
public string SM_Degree { get; set; }
///
/// 入职时间
///
[SugarColumn(ColumnName = "SM_StartWorkTime")]
public DateTime? SM_StartWorkTime { get; set; }
///
/// 薪资待遇
///
[SugarColumn(ColumnName = "SM_Money", Length = 100)]
public string SM_Money { get; set; }
///
/// 是否购买社保
///
[SugarColumn(ColumnName = "SM_IsSocialSecurity")]
public int? SM_IsSocialSecurity { get; set; }
///
/// 社保类型
///
[SugarColumn(ColumnName = "SM_SocialSecurityType", Length = 50)]
public string SM_SocialSecurityType { get; set; }
///
/// 社保卡号
///
[SugarColumn(ColumnName = "SM_SocialSecurityNumber", Length = 50)]
public string SM_SocialSecurityNumber { get; set; }
///
/// 是否签订合同
///
[SugarColumn(ColumnName = "SM_IsContract")]
public int? SM_IsContract { get; set; }
///
/// 合同签订时间
///
[SugarColumn(ColumnName = "SM_ContractStartTime")]
public DateTime? SM_ContractStartTime { get; set; }
///
/// 合同到期时间
///
[SugarColumn(ColumnName = "SM_ContractEndTime")]
public DateTime? SM_ContractEndTime { get; set; }
///
/// 离职审批
///
[SugarColumn(ColumnName = "SM_EndWorkStatus")]
public int? SM_EndWorkStatus { get; set; }
///
/// 离职申请时间
///
[SugarColumn(ColumnName = "SM_EndWorkStartTime")]
public DateTime? SM_EndWorkStartTime { get; set; }
///
/// 离职时间
///
[SugarColumn(ColumnName = "SM_EndWorkTime")]
public DateTime? SM_EndWorkTime { get; set; }
///
/// 离职原因
///
[SugarColumn(ColumnName = "SM_EndWorkContent", Length = 200)]
public string SM_EndWorkContent { get; set; }
///
/// 部门主管签字
///
[SugarColumn(ColumnName = "SM_DepartmentHeads", Length = 50)]
public string SM_DepartmentHeads { get; set; }
///
/// 行政部签字
///
[SugarColumn(ColumnName = "SM_AdministrationDepartment", Length = 50)]
public string SM_AdministrationDepartment { get; set; }
///
/// 财务部签字
///
[SugarColumn(ColumnName = "SM_MinistryFinance", Length = 50)]
public string SM_MinistryFinance { get; set; }
///
/// 总经理签字
///
[SugarColumn(ColumnName = "SM_GeneralManager", Length = 50)]
public string SM_GeneralManager { get; set; }
///
/// 是否导入
///
[SugarColumn(ColumnName = "SM_IsImporting")]
public int? SM_IsImporting { get; set; }
///
/// 是否删除
///
[SugarColumn(ColumnName = "SM_IsDelete")]
public int? SM_IsDelete { get; set; }
///
/// 出生日期
///
[SugarColumn(ColumnName = "SM_Birthday")]
public DateTime? SM_Birthday { get; set; }
///
/// 身份证号码
///
[SugarColumn(ColumnName = "SM_IDCardNum", Length = 50)]
public string SM_IDCardNum { get; set; }
///
/// 身份证图片
///
[SugarColumn(ColumnName = "SM_IDCardPic", Length = 200)]
public string SM_IDCardPic { get; set; }
///
/// 证书类型
///
[SugarColumn(ColumnName = "SM_CertificateType")]
public string SM_CertificateType { get; set; }
///
/// 证书图片
///
[SugarColumn(ColumnName = "SM_CertificatePic")]
public string SM_CertificatePic { get; set; }
///
/// 现居省
///
[SugarColumn(ColumnName = "SM_NowProvince", Length = 50)]
public string SM_NowProvince { get; set; }
///
/// 现居市
///
[SugarColumn(ColumnName = "SM_NowCity", Length = 50)]
public string SM_NowCity { get; set; }
///
/// 现居区
///
[SugarColumn(ColumnName = "SM_NowArea", Length = 50)]
public string SM_NowArea { get; set; }
///
/// 现居地址
///
[SugarColumn(ColumnName = "SM_NowAddress", Length = 50)]
public string SM_NowAddress { get; set; }
///
/// 籍贯省
///
[SugarColumn(ColumnName = "SM_OldProvence", Length = 50)]
public string SM_OldProvence { get; set; }
///
/// 籍贯市
///
[SugarColumn(ColumnName = "SM_OldCity", Length = 50)]
public string SM_OldCity { get; set; }
///
/// 籍贯区
///
[SugarColumn(ColumnName = "SM_OldArea", Length = 50)]
public string SM_OldArea { get; set; }
///
/// 籍贯地址
///
[SugarColumn(ColumnName = "SM_OldAdress", Length = 50)]
public string SM_OldAdress { get; set; }
///
/// 是否是司机
///
[SugarColumn(ColumnName = "BF_IsDriver")]
public bool BF_IsDriver { get; set; }
///
/// 是否是配送管理员
///
[SugarColumn(ColumnName = "BF_IsDeliverManage")]
public bool BF_IsDeliverManage { get; set; }
///
/// 是否为报销主管
///
[SugarColumn(ColumnName = "BF_IsBaoxiaozhuguan")]
public bool BF_IsBaoxiaozhuguan { get; set; }
///
/// 是否为报销经理
///
[SugarColumn(ColumnName = "BF_Isbaoxiaojingli")]
public bool BF_Isbaoxiaojingli { get; set; }
}
}