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

48 lines
922 B
C#

using Magic.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace Magic.Application
{
/// <summary>
/// 测试输入参数
/// </summary>
public class TestInput : PageInputBase
{
/// <summary>
/// 租户Id
/// </summary>
public virtual long TenantId { get; set; }
}
public class AddTestInput : TestInput
{
}
public class DeleteTestInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
public class UpdateTestInput : TestInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
public class QueryeTestInput : DeleteTestInput
{
}
}