You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.3 KiB

1 year ago
using GDZZ.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace GDZZ.Application
{
/// <summary>
/// 附件管理输入参数
/// </summary>
public class AnnexInput : PageInputBase
{
/// <summary>
/// 文件名
/// </summary>
public virtual long Id { get; set; }
1 year ago
/// <summary>
/// 文件名
/// </summary>
public virtual string FileName { get; set; }
/// <summary>
/// 文件大小
/// </summary>
public virtual string FileSize { get; set; }
/// <summary>
/// 文件路径
/// </summary>
public virtual string FileUrl { get; set; }
}
public class AddAnnexInput : AnnexInput
{
}
public class DeleteAnnexInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
public class UpdateAnnexInput : AnnexInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
public class QueryeAnnexInput : DeleteAnnexInput
{
}
}