package com.goafanti.common.model;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;


/**
 * 呼叫记录(CallLog)实体类
 *
 * @author makejava
 * @since 2024-12-19 11:28:39
 */
public class CallLog implements Serializable {
    private static final long serialVersionUID = 302427662635054975L;
    /**
     * id
     */
    private Integer id;
    /**
     * 公司编号
     */
    private String uid;
    /**
     * 通话人编号
     */
    private String aid;
    /**
     * 通话人名称
     */
    private String adminName;
    /**
     * 联系人
     */
    private String contacts;
    /**
     * 联系方式(尾号)
     */
    private String mobileLastDigits;
    /**
     * 状态 0=正常，1=转移
     */
    private Integer status;
    /**
     * 时长
     */
    private Integer duration;
    /**
     * 备注
     */
    private String remarks;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 联系方式(尾号)
     */
    private String mobile;
    /**
     * 外呼坐席号
     */
    private String callNo;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getAid() {
        return aid;
    }

    public void setAid(String aid) {
        this.aid = aid;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getMobileLastDigits() {
        return mobileLastDigits;
    }

    public void setMobileLastDigits(String mobileLastDigits) {
        this.mobileLastDigits = mobileLastDigits;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getCallNo() {
        return callNo;
    }

    public void setCallNo(String callNo) {
        this.callNo = callNo;
    }

}

