package com.skr.mdm.bean.vo.communication;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

import java.util.Date;

/**
 * @author nfq
 * @date 2020/11/26 17:39
 */
@Data
@ApiModel(value = "通话记录列表")
@HeadStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@ContentStyle(horizontalAlignment = HorizontalAlignment.LEFT)
@ColumnWidth(20)
public class CallListVO {

    @ExcelIgnore
    private Integer id;
    @ApiModelProperty(value = "用户名")
    @ExcelProperty(value = "用户名")
    private String userName;
    @ApiModelProperty(value = "部门名称")
    @ExcelProperty(value = "部门名称")
    private String departmentName;
    @ApiModelProperty(value = "设备名称")
    @ExcelProperty(value = "设备名称")
    private String equipmentName;
    @ApiModelProperty(value = "用户号码")
    @ExcelProperty(value = "用户号码")
    private String phoneNumber;
    @ApiModelProperty(value = "设备号码")
    @ExcelProperty(value = "设备号码")
    private String devicePhoneNumber;
    @ApiModelProperty(value = "通话类型（1：呼入 2：呼出）")
    @ExcelProperty(value = "通话类型")
    private String callType;
    @ApiModelProperty(value = "对方号码")
    @ExcelProperty(value = "对方号码")
    private String callNumber;
    @ApiModelProperty(value = "通话时长")
    @ExcelProperty(value = "通话时长")
    private String callDuration;
    
    @ApiModelProperty(value = "通话时间")
    @ExcelProperty(value = "通话时间")
    private Date callTime;
    @ApiModelProperty(value = "录音文件地址")
    @ExcelIgnore
    private String callFileUrl;
    @ApiModelProperty(value = "文件大小",hidden = true)
    @ExcelIgnore
    private Integer callFileSize;

}