package com.cyksj.model.views;

import com.ejlchina.searcher.bean.DbField;
import com.ejlchina.searcher.bean.SearchBean;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 项目名: yhlxj
 * 文件名: CorpKfServicerStatusChangeRecordView
 * 创建者: JavaZou
 * 创建时间:2025/2/12 10:30
 */
@Getter
@Setter
@SearchBean(tables = "corp_kf_servicer_status_change_record cks left join sys_corp_follow_relate sr on sr.follow_id = cks.servicer_userid" +
		" left join sys_corp_follow sf on sf.id = sr.mid")
public class CorpKfServicerStatusChangeRecordView {
	@DbField("cks.id")
	private Long id;

	@DbField("cks.open_kf_id")
	private String openKfId;

	@DbField("cks.servicer_userid")
	private String servicerUserid;

	@DbField("sf.name")
	private String name;

	@DbField("sr.name")
	private String followName;

	/**
	 * 客服状态 0接待中 1.停止接待 2.暂时挂起
	 */
	@DbField("cks.state")
	private Integer state;

	@DbField("cks.created_time")
	private Date createdTime;
}
