package com.cyksj.model.entity;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/*
 *项目名: netflix
 *文件名: UserRelationChangeErrorRecord
 *创建者: JavaZou
 *创建时间:2023/6/9 10:25
 */
@Getter
@Setter
public class UserRelationChangeErrorRecord extends BaseEntity{
	private Long userId;

	private Long skuId;

	private Long groupsId;

	private Long relationId;

	private Date startTime;

	private Date expiryTime;

	private Source source;

	private String errorMsg;

	private Boolean deleted;

	@Getter
	public enum Source {
		change("账号过期,更换车票"),
		;
		String desc;

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

}
