package com.ruoyi.bst.customerService.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.interfaces.LogBizParam;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 客服对象 bst_customer_service
 *
 * @author ruoyi
 * @date 2025-04-02
 */
@Data
public class CustomerService extends BaseEntity implements LogBizParam
{
    private static final long serialVersionUID = 1L;

    private Long id;

    @Excel(name = "所属运营区id")
    @ApiModelProperty("所属运营区id")
    private Long areaId;

    @Excel(name = "运营商id")
    @ApiModelProperty("运营商id")
    private Long storeId;

    @Excel(name = "客服姓名")
    @ApiModelProperty("客服姓名")
    private String name;

    @Excel(name = "客服联系方式")
    @ApiModelProperty("客服联系方式")
    private String contact;

    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "工作开始时间", width = 30, dateFormat = "HH:mm:ss")
    @ApiModelProperty("工作开始时间")
    private Date startTime;

    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "工作结束时间", width = 30, dateFormat = "HH:mm:ss")
    @ApiModelProperty("工作结束时间")
    private Date endTime;

    @Excel(name = "是否启用")
    @ApiModelProperty("是否启用")
    private String isEnabled;

    @Override
    public Object logBizId() {
        return id;
    }
}
