package com.crm.manager.dto.export;

import com.crm.rely.backend.core.dto.base.ExportCsvDto;
import lombok.Data;

/**
 * @Author houn
 * @Date 2024/10/21 15:19
 * @PackageName:com.crm.manager.dto.export
 * @ClassName: CustomAllocationExportCsvDto
 * @Description: TODO
 */
@Data
public class CustomAllocationExportCsvDto implements ExportCsvDto {
    private String firstName;
    private String lastName;
    private String email;
    private String company;
    private String phone;

    @Override
    public String toRow() {
        return String.format("%s,%s,%s,%s,%s\n", firstName, lastName, email, company, phone);
    }
}
