using System.Text.Json.Serialization;

namespace HoneyBox.Model.Models.Welfare;

/// <summary>
/// 福利屋配置项 DTO
/// </summary>
public class WelfareHouseDto
{
    [JsonPropertyName("id")]
    public int Id { get; set; }

    [JsonPropertyName("name")]
    public string Name { get; set; } = string.Empty;

    [JsonPropertyName("image")]
    public string Image { get; set; } = string.Empty;

    [JsonPropertyName("url")]
    public string Url { get; set; } = string.Empty;

    [JsonPropertyName("sort")]
    public int Sort { get; set; }

    [JsonPropertyName("status")]
    public byte Status { get; set; }

    [JsonPropertyName("create_time")]
    public int? CreateTime { get; set; }

    [JsonPropertyName("update_time")]
    public int? UpdateTime { get; set; }
}
