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