using System;
using System.Collections.Generic;

namespace HoneyBox.Model.Entities;

/// <summary>
/// 用户任务完成记录表
/// </summary>
public partial class UserTask
{
    /// <summary>
    /// 主键ID
    /// </summary>
    public int Id { get; set; }

    /// <summary>
    /// 用户ID
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// 任务ID
    /// </summary>
    public int TaskId { get; set; }

    /// <summary>
    /// 任务类型
    /// </summary>
    public byte Type { get; set; }

    /// <summary>
    /// 任务分类
    /// </summary>
    public byte Cate { get; set; }

    /// <summary>
    /// 是否重要任务
    /// </summary>
    public byte? IsImportant { get; set; }

    /// <summary>
    /// 已完成次数
    /// </summary>
    public int? Number { get; set; }

    /// <summary>
    /// 奖励数量
    /// </summary>
    public int? ZNumber { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreatedAt { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime UpdatedAt { get; set; }

    /// <summary>
    /// 删除时间
    /// </summary>
    public DateTime? DeletedAt { get; set; }
}
