ChouBox/ChouBox.Model/Entities/SignConfig.cs
2025-04-23 19:20:23 +08:00

57 lines
1.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
namespace ChouBox.Model.Entities;
/// <summary>
/// 签到配置表
/// </summary>
public partial class SignConfig
{
public int Id { get; set; }
/// <summary>
/// 配置类型(1:累计签到配置,2:每日签到配置)
/// </summary>
public bool Type { get; set; }
/// <summary>
/// 指定星期几(type=2时有效1-7代表周一到周日)
/// </summary>
public bool? Day { get; set; }
/// <summary>
/// 配置标题
/// </summary>
public string? Title { get; set; }
/// <summary>
/// 图标
/// </summary>
public string? Icon { get; set; }
/// <summary>
/// 状态(0禁用,1启用)
/// </summary>
public bool? Status { get; set; }
/// <summary>
/// 排序
/// </summary>
public int? Sort { get; set; }
public int? CreateTime { get; set; }
public int? UpdateTime { get; set; }
/// <summary>
/// 奖励id
/// </summary>
public string RewardId { get; set; } = null!;
/// <summary>
/// 备注
/// </summary>
public string? Description { get; set; }
}