parent
0d6580edc6
commit
6ae5e756a5
21 changed files with 621 additions and 75 deletions
@ -0,0 +1,36 @@ |
||||
package com.daqing.financial.guarantee; |
||||
|
||||
import com.daqing.framework.domain.crms.request.DgApplyAmountInfoRequest; |
||||
import com.daqing.framework.domain.hrms.request.LoginRequest; |
||||
import com.daqing.framework.domain.hrms.request.ResetPwdRequest; |
||||
import com.daqing.framework.domain.hrms.request.UpdatePwdRequest; |
||||
import com.daqing.framework.domain.hrms.request.UserLoginRequest; |
||||
import com.daqing.framework.model.response.ResponseResult; |
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import org.springframework.web.multipart.MultipartFile; |
||||
|
||||
import java.io.IOException; |
||||
|
||||
/** |
||||
* @Author: gongsj. |
||||
* @Description: 登录controllerApi定义 |
||||
* @Date:Created in 2020/09/07 11:33. |
||||
* @Modified By: |
||||
*/ |
||||
@Api(value = "申请贷款信息", tags = "提供申请贷款信息") |
||||
public interface DgApplyAmountInfoControllerApi { |
||||
|
||||
/** |
||||
* 根据客户编号/客户名称获取企业信息 |
||||
*/ |
||||
@ApiOperation(value = "根据客户编号/客户名称获取企业信息", notes = "根据客户编号/客户名称获取企业信息") |
||||
ResponseResult companyInfoBySth(DgApplyAmountInfoRequest applyAmountInfo); |
||||
|
||||
/* @ApiOperation(value = "业务申请") |
||||
ResponseResult businessApplication(BusinessApplicationRequest businessApplication);*/ |
||||
|
||||
@ApiOperation(value = "上传文件") |
||||
ResponseResult uploadFile(MultipartFile[] files)throws IOException; |
||||
|
||||
} |
@ -0,0 +1,163 @@ |
||||
package com.daqing.financial.guarantee.model.request; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType; |
||||
import com.baomidou.mybatisplus.annotation.TableId; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.ToString; |
||||
|
||||
import java.io.Serializable; |
||||
import java.math.BigDecimal; |
||||
import java.util.Date; |
||||
|
||||
@Data |
||||
@ToString |
||||
public class BusinessApplicationRequest implements Serializable { |
||||
|
||||
/** |
||||
* 主键id |
||||
*/ |
||||
@ApiModelProperty(value = "id") |
||||
@TableId(value = "id", type = IdType.AUTO) |
||||
private Integer id; |
||||
|
||||
/** |
||||
* 企业id |
||||
*/ |
||||
@ApiModelProperty(value = "企业id") |
||||
private Integer companyId; |
||||
|
||||
/** |
||||
* 提单人id |
||||
*/ |
||||
@ApiModelProperty(value = "提单人id") |
||||
private Integer presenterId; |
||||
|
||||
/** |
||||
* 申请额度 |
||||
*/ |
||||
@ApiModelProperty(value = "申请额度") |
||||
private BigDecimal applyAmount; |
||||
|
||||
/** |
||||
* 申请期限 |
||||
*/ |
||||
@ApiModelProperty(value = "申请期限") |
||||
private String applyTime; |
||||
|
||||
/** |
||||
* 贷款银行(用中划线隔开) |
||||
*/ |
||||
@ApiModelProperty(value = "贷款银行(用中划线隔开)") |
||||
private String bank; |
||||
|
||||
/** |
||||
* 贷款用途 |
||||
*/ |
||||
@ApiModelProperty(value = "贷款用途") |
||||
private String amountWide; |
||||
|
||||
/** |
||||
* 反担保措施(中划线隔开) |
||||
*/ |
||||
@ApiModelProperty(value = "反担保措施(中划线隔开)") |
||||
private String enGuaranteeMeasures; |
||||
|
||||
/** |
||||
* 反担保措施描述 |
||||
*/ |
||||
@ApiModelProperty(value = "反担保措施描述") |
||||
private String description; |
||||
|
||||
/** |
||||
* 业务类型 |
||||
*/ |
||||
@ApiModelProperty(value = "业务类型") |
||||
private String businessType; |
||||
|
||||
/** |
||||
* 创建时间 |
||||
*/ |
||||
@ApiModelProperty(value = "创建时间") |
||||
private Date createTime; |
||||
|
||||
/** |
||||
* 修改时间 |
||||
*/ |
||||
@ApiModelProperty(value = "修改时间") |
||||
private Date updateTime; |
||||
|
||||
|
||||
/** |
||||
* 营业执照复印件 |
||||
*/ |
||||
@ApiModelProperty(value = "营业执照复印件") |
||||
private String businessLicense; |
||||
|
||||
/** |
||||
* 上传法定代表人夫妻及企业实际经营者身份证复印件 |
||||
*/ |
||||
@ApiModelProperty(value = "上传法定代表人夫妻及企业实际经营者身份证复印件") |
||||
private String legalCardCopy; |
||||
|
||||
/** |
||||
* 法定代表人夫妻户口本,结婚证(离婚证)复印件 |
||||
*/ |
||||
@ApiModelProperty(value = "法定代表人夫妻户口本,结婚证(离婚证)复印件") |
||||
private String marriageCopy; |
||||
|
||||
/** |
||||
* 法定代表人身份证明 |
||||
*/ |
||||
@ApiModelProperty(value = "法定代表人身份证明") |
||||
private String legalCopy; |
||||
|
||||
/** |
||||
* 公司章程 |
||||
*/ |
||||
@ApiModelProperty(value = "公司章程") |
||||
private String companyConstitution; |
||||
|
||||
/** |
||||
* 会计师事务所审计的上一年度及本年度审计报告 |
||||
*/ |
||||
@ApiModelProperty(value = "会计师事务所审计的上一年度及本年度审计报告") |
||||
private String accountingFirm; |
||||
|
||||
/** |
||||
* 企业信用报告 |
||||
*/ |
||||
@ApiModelProperty(value = "企业信用报告") |
||||
private String companyCredit; |
||||
|
||||
/** |
||||
* 企业法人夫妇信用报告,实际经营者信用报告 |
||||
*/ |
||||
@ApiModelProperty(value = "企业法人夫妇信用报告,实际经营者信用报告") |
||||
private String creditReport; |
||||
|
||||
/** |
||||
* 征信业务授权书,承诺书 |
||||
*/ |
||||
@ApiModelProperty(value = "征信业务授权书,承诺书") |
||||
private String certificateAuthorization; |
||||
|
||||
/** |
||||
* 增值税纳税申报表首表复印件/完税证明 |
||||
*/ |
||||
@ApiModelProperty(value = "增值税纳税申报表首表复印件/完税证明") |
||||
private String taxCertificate; |
||||
|
||||
/** |
||||
* 股东会会议纪要 |
||||
*/ |
||||
@ApiModelProperty(value = "股东会会议纪要") |
||||
private String meetingMinutes; |
||||
|
||||
/** |
||||
* 反担保资料和评估报告 |
||||
*/ |
||||
@ApiModelProperty(value = "反担保资料和评估报告") |
||||
private String assessmentReport; |
||||
|
||||
} |
@ -1,4 +0,0 @@ |
||||
package com.daqing.financial.guarantee.model.request; |
||||
|
||||
public class DgApplyAmountInfoRequest { |
||||
} |
@ -1,4 +0,0 @@ |
||||
package com.daqing.financial.guarantee.model.response; |
||||
|
||||
public class DgApplyAmountInfoResponse { |
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.daqing.framework.domain.crms.request; |
||||
|
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.ToString; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
@Data |
||||
@ToString |
||||
public class DgApplyAmountInfoRequest implements Serializable { |
||||
|
||||
@ApiModelProperty(value = "客户编号") |
||||
private String code; |
||||
|
||||
@ApiModelProperty(value = "客户名称") |
||||
private String name; |
||||
|
||||
|
||||
} |
@ -0,0 +1,145 @@ |
||||
package com.daqing.framework.domain.crms.response; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType; |
||||
import com.baomidou.mybatisplus.annotation.TableId; |
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
import javax.validation.constraints.NotNull; |
||||
import javax.validation.constraints.Pattern; |
||||
import java.io.Serializable; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* 企业类型客户信息表 |
||||
* |
||||
* @author gongsj |
||||
* @email gongsj@gmail.com |
||||
* @date 2020-09-08 09:57:32 |
||||
*/ |
||||
@Data |
||||
@TableName("crms_company_customer") |
||||
public class CompanyCustomerResponse implements Serializable { |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
/** |
||||
* 主键 companyId |
||||
*/ |
||||
@ApiModelProperty(value = "id") |
||||
private Long id; |
||||
/** |
||||
* 注册资金 |
||||
*/ |
||||
@ApiModelProperty(value = "注册资金") |
||||
private String registeredCapital; |
||||
/** |
||||
* 所属行业 |
||||
*/ |
||||
@ApiModelProperty(value = "所属行业") |
||||
private String industry; |
||||
/** |
||||
* 成立年限 |
||||
*/ |
||||
@ApiModelProperty(value = "成立年限") |
||||
private Integer years; |
||||
/** |
||||
* 所在区域 |
||||
*/ |
||||
@ApiModelProperty(value = "所在区域") |
||||
private String region; |
||||
/** |
||||
* 股东名称 |
||||
*/ |
||||
@ApiModelProperty(value = "股东名称") |
||||
private String shareholder; |
||||
/** |
||||
* 关联企业 |
||||
*/ |
||||
@ApiModelProperty(value = "关联企业") |
||||
private String affiliatedCompany; |
||||
/** |
||||
* 员工个数 |
||||
*/ |
||||
@ApiModelProperty(value = "员工个数") |
||||
private String empNum; |
||||
/** |
||||
* 联系人 |
||||
*/ |
||||
@ApiModelProperty(value = "联系人") |
||||
private String linkman; |
||||
/** |
||||
* 业务来源 |
||||
*/ |
||||
@ApiModelProperty(value = "业务来源") |
||||
private String businessSource; |
||||
/** |
||||
* 客户基本信息表id |
||||
*/ |
||||
@ApiModelProperty(value = "客户基本信息表id") |
||||
private Long customerId; |
||||
/** |
||||
* 客户编号 |
||||
*/ |
||||
@ApiModelProperty(value = "客户编号") |
||||
private String code; |
||||
/** |
||||
* 客户类型:1、企业类型,0:个人类型 |
||||
*/ |
||||
@NotNull(message = "客户类型不能为空") |
||||
@ApiModelProperty(value = "客户类型") |
||||
//@Pattern(regexp = "^\\\\d+$",message = "成立年限只能为整形数字")
|
||||
private Integer type; |
||||
/** |
||||
* 客户的经理人id |
||||
*/ |
||||
@ApiModelProperty(value = "客户经理人id") |
||||
private Long manager; |
||||
/** |
||||
* 客户名称 |
||||
*/ |
||||
@ApiModelProperty(value = "客户名称") |
||||
private String name; |
||||
/** |
||||
* 联系地址 |
||||
*/ |
||||
@ApiModelProperty(value = "联系地址") |
||||
private String addr; |
||||
/** |
||||
* 联系电话 |
||||
*/ |
||||
@NotNull(message = "联系电话不能为空") |
||||
@ApiModelProperty(value = "联系电话") |
||||
private String phone; |
||||
/** |
||||
* 密码 |
||||
*/ |
||||
@ApiModelProperty(value = "密码") |
||||
private String password; |
||||
/** |
||||
* 微信唯一标识 |
||||
*/ |
||||
@ApiModelProperty(value = "微信唯一标识") |
||||
private String wechatId; |
||||
/** |
||||
* 0:未删除,1:已删除 |
||||
*/ |
||||
@ApiModelProperty(value = "是否删除") |
||||
private Integer delOrNot; |
||||
/** |
||||
* 0:启用,1:禁用 |
||||
*/ |
||||
@ApiModelProperty(value = "是否禁用") |
||||
private Integer status; |
||||
/** |
||||
* 创建时间 |
||||
*/ |
||||
@ApiModelProperty(value = "创建时间") |
||||
private Date createTime; |
||||
/** |
||||
* 修改时间 |
||||
*/ |
||||
@ApiModelProperty(value = "修改时间") |
||||
private Date motifyTime; |
||||
|
||||
} |
Loading…
Reference in new issue