using System;
using System.Collections.Generic;

namespace DAL.New_Models;

public partial class TbHostUpdate
{
    public int Id { get; set; }

    /// <summary>
    /// 文件类型：0/主机固件文件，1/配置数据文件
    /// </summary>
    public int FileType { get; set; }

    /// <summary>
    /// 升级包名称
    /// </summary>
    public string FileName { get; set; } = null!;

    /// <summary>
    /// 路径
    /// </summary>
    public string Href { get; set; } = null!;

    /// <summary>
    /// Md5值
    /// </summary>
    public string? Md5 { get; set; }

    /// <summary>
    /// 文件大小
    /// </summary>
    public long? Size { get; set; }

    /// <summary>
    /// 上传日期
    /// </summary>
    public DateTime? UploadTime { get; set; }

    /// <summary>
    /// 上传人
    /// </summary>
    public string? Account { get; set; }

    public int? HotelId { get; set; }

    public virtual ICollection<TbHostUpdateStatus> TbHostUpdateStatuses { get; set; } = new List<TbHostUpdateStatus>();
}
