using SqlSugar;

namespace OpenAuth.Repository.Domain;

using System;

/// <summary>
/// 媒体文件实体类
/// </summary>
[SugarTable("drone_dbfileinfo")]
public class DbfineInfo
{
    /// <summary>
    /// 主键ID
    /// </summary>
    [SugarColumn(IsPrimaryKey = true, ColumnName = "id")]
    public string id { get; set; }

    /// <summary>
    /// 计划ID
    /// </summary>
    public string taskid { get; set; }

    /// <summary>
    /// 区域代码
    /// </summary>
    public string regioncode { get; set; }

    /// <summary>
    /// 数据包大小
    /// </summary>
    public int size { get; set; }

    /// <summary>
    /// 图斑数量
    /// </summary>
    public int count { get; set; }

    /// <summary>
    /// 外业附件个数
    /// </summary>
    public int attachment_count { get; set; }

    /// <summary>
    /// 数据包扩展名
    /// </summary>
    public string extension { get; set; }

    /// <summary>
    /// 文件哈希值
    /// </summary>

    public string hash { get; set; }

    /// <summary>
    /// 数据包下载地址
    /// </summary>
    public string url { get; set; }

    /// <summary>
    /// 数据包的解密密钥
    /// </summary>
    public string key { get; set; }

    /// <summary>
    /// 签章数据
    /// </summary>
    public string sign { get; set; }

    public int? timestamp { get; set; }

}