using GDZZ.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace GDZZ.Application
{
///
/// 活动广告列表输入参数
///
public class MiniBannerInput : PageInputBase
{
///
/// 广告图片
///
public virtual string Url { get; set; }
///
/// 跳转链接
///
public virtual string Skip { get; set; }
}
public class AddMiniBannerInput : MiniBannerInput
{
///
/// 广告图片
///
[Required(ErrorMessage = "广告图片不能为空")]
public override string Url { get; set; }
}
public class DeleteMiniBannerInput
{
///
/// 主键Id
///
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
public class UpdateMiniBannerInput : MiniBannerInput
{
///
/// 主键Id
///
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
public class QueryeMiniBannerInput : DeleteMiniBannerInput
{
}
}