中扬CRM客户关系管理系统
#
LSH
2023-12-01 09ee5added9d59e90310a2586e846137ea597b19
src/main/java/com/zy/crm/manager/entity/Cstmr.java
@@ -196,7 +196,82 @@
    @ApiModelProperty(value= "注释")
    private String memo;
    /**
     * 客户行业
     */
    @ApiModelProperty(value= "客户行业")
    @TableField("industry")
    private String industry;
    /**
     * 产品类别
     */
    @ApiModelProperty(value= "产品类别")
    @TableField("product_category")
    private String productCategory;
    /**
     * 企业信用代码
     */
    @ApiModelProperty(value= "企业信用代码")
    @TableField("credit_code")
    private String creditCode;
    /**
     * 企业创建时间
     */
    @ApiModelProperty(value= "企业创建时间")
    @TableField("issue_time")
    private String issueTime;
    /**
     * 企业类型
     */
    @ApiModelProperty(value= "企业类型")
    @TableField("company_type")
    private String companyType;
    /**
     * 企业法人
     */
    @ApiModelProperty(value= "企业法人")
    @TableField("company_person")
    private String companyPerson;
    /**
     * 企业状态
     */
    @ApiModelProperty(value= "企业状态")
    @TableField("company_status")
    private String companyStatus;
    /**
     * 注册资金
     */
    @ApiModelProperty(value= "注册资金")
    @TableField("reg_money")
    private String regMoney;
    public Cstmr() {}
    public Cstmr(Cstmr cstmr) {
        this.hostId = cstmr.getHostId();
        this.deptId = cstmr.getDeptId();
        this.userId = cstmr.getUserId();
        this.cstmrType = cstmr.getCstmrType();
        this.director = cstmr.getDirector();
        this.province = cstmr.getProvince();
        this.city = cstmr.getCity();
        this.district = cstmr.getDistrict();
        this.town = cstmr.getTown();
        this.addr = cstmr.getAddr();
        this.type = cstmr.getType();
        this.status = cstmr.getStatus();
        this.createBy = cstmr.getCreateBy();
        this.createTime = cstmr.getCreateTime();
        this.updateBy = cstmr.getUpdateBy();
        this.updateTime = cstmr.getUpdateTime();
    }
    public Cstmr(Long hostId,Long deptId,Long userId,Long cstmrType,String uuid,String name,String simple,String rela,String tel,String contacts,String remarks,Long director,String province,String city,String district,String town,String addr,Integer type,String files,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
        this.hostId = hostId;
@@ -291,6 +366,7 @@
    }
    public String getDirector$(){
        if (Cools.isEmpty(this.director)) return null;
        UserService service = SpringUtils.getBean(UserService.class);
        User user = service.selectById(this.director);
        if (!Cools.isEmpty(user)){