package com.ruoyi.basic.dto; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.basic.pojo.CustomerFollowUp; import com.ruoyi.basic.pojo.CustomerPrivatePool; import com.ruoyi.framework.aspectj.lang.annotation.Excel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; import java.util.List; @Data public class CustomerPrivatePoolDto extends CustomerPrivatePool { /** * 客户名称 */ @Excel(name = "客户名称") private String customerName; /** 客户分类:零售客户,进销商客户 */ @ApiModelProperty(value = "客户要id") private Long customerId; /** * 跟进程度 */ // @Excel(name = "跟进程度") @TableField(exist = false) private String followUpLevel; /** * 跟进时间 */ // @Excel(name = "跟进时间" , width = 30, dateFormat = "yyyy-MM-dd") @TableField(exist = false) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date followUpTime; @Excel(name = "客户分类") private String customerType; private String addressPhone; /** * 纳税人识别号 */ @Excel(name = "纳税人识别号") private String taxpayerIdentificationNumber; /** * 公司地址 */ @Excel(name = "公司地址") private String companyAddress; /** * 公司电话 */ @Excel(name = "公司电话") private String companyPhone; /** * 联系人 */ @Excel(name = "联系人") private String contactPerson; /** * 联系电话 */ @Excel(name = "联系电话",cellType = Excel.ColumnType.STRING) private String contactPhone; /** * 维护人 */ @Excel(name = "维护人") private String maintainer; /** * 维护时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "维护时间" , width = 30, dateFormat = "yyyy-MM-dd") private Date maintenanceTime; @TableField(fill = FieldFill.INSERT) private Long tenantId; @ApiModelProperty(value = "银行基本户") @Excel(name = "银行基本户") private String basicBankAccount; @ApiModelProperty(value = "银行账号") @Excel(name = "银行账号") private String bankAccount; @ApiModelProperty(value = "开户行号") @Excel(name = "开户行号") private String bankCode; @ApiModelProperty(value = "创建用户") @TableField(fill = FieldFill.INSERT) private Integer createUser; @ApiModelProperty(value = "跟进记录") private List followUpList; @ApiModelProperty(value = "绑定人ids") private List< Long> boundIds; @Excel(isExport = false) private List ids; }