using Hotline.Share.Requests;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hotline.Share.Dtos.File
{
public class FileDto
{
///
/// 附件名称
///
public string? Name { get; set; }
///
/// 附件KEY
///
public string? Key { get; set; }
///
/// 附件类型
///
public string? Type { get; set; }
///
/// 部门ID
///
public string? OrgId { get; set; }
///
/// 部门名称
///
public string? OrgName { get; set; }
///
/// 上传人Id
///
public string? UserId { get; set; }
///
/// 上传人名称
///
public string? UserName { get; set; }
///
/// 是否公开
///
public int? Publicity { get; set; }
///
/// 附件分类
///
public string? Classify { get; set; }
///
/// 附件
///
public string? Additions { get; set; }
}
public class UpdateFileDto: FileDto
{
public string Id { get; set; }
}
public class DeleteFileDto
{
public List Ids { get; set; }
}
public record FileListDto : PagedKeywordRequest
{
///
/// 附件名称
///
public string? Name { get; set; }
///
/// 附件KEY
///
public string? Key { get; set; }
///
/// 附件类型
///
public string? Type { get; set; }
///
/// 部门名称
///
public string? OrgName { get; set; }
///
/// 是否公开
///
public int? Publicity { get; set; }
///
/// 附件分类
///
public string? Classify { get; set; }
///
/// 受理时间(工单创建时间)
///
public DateTime? CreationTimeStart { get; set; }
public DateTime? CreationTimeEnd { get; set; }
}
}