package com.cyksj.model.entity;

import lombok.Getter;
import lombok.Setter;

/*
 *项目名: netflix
 *文件名: WorkOrder
 *创建者: JavaZou
 *创建时间:2023/4/19 15:12
 */
@Getter
@Setter
public class WorkOrder extends BaseEntity{
	private Long userId;

	private Long replyCustomerServiceId;

	private String topic;

	private Long relationId;

	private Long accountId;

	private String account;

	private Long goodsId;

	private String imgs;

	private Long skuId;

	private Status status;

	/**
	 * 分配的客服id
	 */
	private Long assignCustomerServiceId;

	private Long closeCustomerServiceId;

	/**
	 * 客服凭证id
	 */
	private String customerServiceAuthId;

	private Type type;

	private String content;

	private String remark;

	/**
	 * 店铺主键id
	 */
	private Long yhsId;

	@Getter
	public enum Type {
		freeze("账号被封"),
		noMember("无会员"),
		other("其他问题"),
		;

		String desc;

		Type(String desc) {
			this.desc = desc;
		}
	}

	@Getter
	public enum Status {
		waiting("待处理"),
		close("已关闭"),
		normal("无异常"),
		;

		String desc;

		Status(String desc) {
			this.desc = desc;
		}
	}
}
