package com.cyksj.model.entity;

import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/*
 *项目名: netflix
 *文件名: TaskUserCompleteRecord
 *创建者: JavaZou
 *创建时间:2022/12/28 17:11
 */
@Setter
@Getter
public class TaskUserCompleteRecord extends BaseEntity {
	private Long userId;

	private Long taskId;

	private Status status;

	private Integer points;

	private BigDecimal balance;

	@Getter
	public enum Status {
		waiting("待完成"),
		complete("已完成"),
		received("已领取"),
		verifying("审核中"),
		fail("审核失败"),
		;
		String desc;

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