package com.ots.project.exam.domain; import com.ots.framework.aspectj.lang.annotation.Excel; import com.ots.framework.web.domain.BaseEntity; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import org.springframework.web.multipart.MultipartFile; import java.util.Date; /** * 用户信息扩展对象 sys_user_extend * * @author ots * @date 2019-11-20 */ public class SysUserExtend extends BaseEntity { private static final long serialVersionUID = 1L; /** * 用户编码 */ private Long userId; /** * 分销商编码 */ private Long parentUserId; private Long parentUserTempId; /** * 法人 */ @Excel(name = "法人") private String legalPerson; /** * 联系地址 */ @Excel(name = "联系地址") private String address; /** * 合同地址 */ @Excel(name = "合同地址") private String contractText; /** * 合同范围 */ @Excel(name = "合同范围") private String contractScope; /** * 生效时间 */ @Excel(name = "生效时间", width = 30, dateFormat = "yyyy-MM-dd") private Date effectTime; /** * 合作期限 */ @Excel(name = "合作期限", width = 30, dateFormat = "yyyy-MM-dd") private Date invalidTime; /** * 公司规模 */ @Excel(name = "公司规模") private Long companySize; /** * 营业执照信息 */ @Excel(name = "营业执照信息") private String businessLicense; /** * 业务经理 */ @Excel(name = "业务经理") private String businessManager; /** * 企业LOGO */ @Excel(name = "企业LOGO") private String businessLogo; /** * 可用测试人数 */ @Excel(name = "可用测试人数") private Long testNum; /** * HR邮箱 */ @Excel(name = "HR邮箱") private String hrEmail; /** * 测试者是否收到报告(0否 1是) */ @Excel(name = "测试者是否收到报告", readConverterExp = "0=否,1=是") private String sendReport; /** * 邮件内容 */ @Excel(name = "邮件内容") private String mailContent; /** * HR接受报告类型 */ @Excel(name = "HR接受报告类型") private String hrReportType; /** * 语言类型 */ @Excel(name = "报告语言类型") private String langType; private MultipartFile businessLicenseFile; private MultipartFile contractTextFile; private MultipartFile businessLogoFile; private String userType; private String userName; private String loginName; private String password; private String phonenumber; private String contactPerson; private String contactEmail; public String getContactPerson() { return contactPerson; } public void setContactPerson(String contactPerson) { this.contactPerson = contactPerson; } public String getContactEmail() { return contactEmail; } public void setContactEmail(String contactEmail) { this.contactEmail = contactEmail; } public Long getParentUserTempId() { return parentUserTempId; } public void setParentUserTempId(Long parentUserTempId) { this.parentUserTempId = parentUserTempId; } /** * 是否为一级供应商 */ private String firstLevel; public String getFirstLevel() { return firstLevel; } public void setFirstLevel(String firstLevel) { this.firstLevel = firstLevel; } public String getPhonenumber() { return phonenumber; } public void setPhonenumber(String phonenumber) { this.phonenumber = phonenumber; } public String getUserType() { return userType; } public void setUserType(String userType) { this.userType = userType; } public String getUserName() { return userName; } public void setUserName(String userName) { this.userName = userName; } public String getLoginName() { return loginName; } public void setLoginName(String loginName) { this.loginName = loginName; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } public void setUserId(Long userId) { this.userId = userId; } public Long getUserId() { return userId; } public void setLegalPerson(String legalPerson) { this.legalPerson = legalPerson; } public String getLegalPerson() { return legalPerson; } public void setAddress(String address) { this.address = address; } public String getAddress() { return address; } public void setContractText(String contractText) { this.contractText = contractText; } public String getContractText() { return contractText; } public void setContractScope(String contractScope) { this.contractScope = contractScope; } public String getContractScope() { return contractScope; } public void setEffectTime(Date effectTime) { this.effectTime = effectTime; } public Date getEffectTime() { return effectTime; } public void setInvalidTime(Date invalidTime) { this.invalidTime = invalidTime; } public Date getInvalidTime() { return invalidTime; } public void setCompanySize(Long companySize) { this.companySize = companySize; } public Long getCompanySize() { return companySize; } public void setBusinessLicense(String businessLicense) { this.businessLicense = businessLicense; } public String getBusinessLicense() { return businessLicense; } public void setBusinessManager(String businessManager) { this.businessManager = businessManager; } public String getBusinessManager() { return businessManager; } public void setBusinessLogo(String businessLogo) { this.businessLogo = businessLogo; } public String getBusinessLogo() { return businessLogo; } public void setTestNum(Long testNum) { this.testNum = testNum; } public Long getTestNum() { return testNum; } public void setHrEmail(String hrEmail) { this.hrEmail = hrEmail; } public String getHrEmail() { return hrEmail; } public void setSendReport(String sendReport) { this.sendReport = sendReport; } public String getSendReport() { return sendReport; } public void setMailContent(String mailContent) { this.mailContent = mailContent; } public String getMailContent() { return mailContent; } public void setHrReportType(String hrReportType) { this.hrReportType = hrReportType; } public String getHrReportType() { return hrReportType; } public void setLangType(String langType) { this.langType = langType; } public String getLangType() { return langType; } public MultipartFile getBusinessLicenseFile() { return businessLicenseFile; } public void setBusinessLicenseFile(MultipartFile businessLicenseFile) { this.businessLicenseFile = businessLicenseFile; } public Long getParentUserId() { return parentUserId; } public void setParentUserId(Long parentUserId) { this.parentUserId = parentUserId; } public MultipartFile getContractTextFile() { return contractTextFile; } public void setContractTextFile(MultipartFile contractTextFile) { this.contractTextFile = contractTextFile; } public MultipartFile getBusinessLogoFile() { return businessLogoFile; } public void setBusinessLogoFile(MultipartFile businessLogoFile) { this.businessLogoFile = businessLogoFile; } @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) .append("userId", getUserId()) .append("legalPerson", getLegalPerson()) .append("address", getAddress()) .append("contractText", getContractText()) .append("contractScope", getContractScope()) .append("effectTime", getEffectTime()) .append("invalidTime", getInvalidTime()) .append("companySize", getCompanySize()) .append("businessLicense", getBusinessLicense()) .append("businessManager", getBusinessManager()) .append("businessLogo", getBusinessLogo()) .append("testNum", getTestNum()) .append("hrEmail", getHrEmail()) .append("sendReport", getSendReport()) .append("mailContent", getMailContent()) .append("hrReportType", getHrReportType()) .append("langType", getLangType()) .toString(); } }