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.
|
|
|
|
using GDZZ.Core;
|
|
|
|
|
using System;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace GDZZ.Application
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 套餐管理输入参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class MiniThaliInput : PageInputBase
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 套餐金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual decimal Amount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 套餐名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class AddMiniThaliInput : MiniThaliInput
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 套餐金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required(ErrorMessage = "套餐金额不能为空")]
|
|
|
|
|
public override decimal Amount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 套餐名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required(ErrorMessage = "套餐名称不能为空")]
|
|
|
|
|
public override string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class DeleteMiniThaliInput
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required(ErrorMessage = "主键Id不能为空")]
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class UpdateMiniThaliInput : MiniThaliInput
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required(ErrorMessage = "主键Id不能为空")]
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class QueryeMiniThaliInput : DeleteMiniThaliInput
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|