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.4 KiB
65 lines
1.4 KiB
using GDZZ.Core;
|
|
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace GDZZ.Application
|
|
{
|
|
/// <summary>
|
|
/// 活动广告列表输入参数
|
|
/// </summary>
|
|
public class MiniBannerInput : PageInputBase
|
|
{
|
|
/// <summary>
|
|
/// 广告图片
|
|
/// </summary>
|
|
public virtual string Url { get; set; }
|
|
|
|
/// <summary>
|
|
/// 跳转链接
|
|
/// </summary>
|
|
public virtual string Skip { get; set; }
|
|
|
|
/// <summary>
|
|
/// 活动类型
|
|
/// </summary>
|
|
public int Type { get; set; }
|
|
|
|
|
|
}
|
|
|
|
public class AddMiniBannerInput : MiniBannerInput
|
|
{
|
|
/// <summary>
|
|
/// 广告图片
|
|
/// </summary>
|
|
[Required(ErrorMessage = "广告图片不能为空")]
|
|
public override string Url { get; set; }
|
|
|
|
}
|
|
|
|
public class DeleteMiniBannerInput
|
|
{
|
|
/// <summary>
|
|
/// 主键Id
|
|
/// </summary>
|
|
[Required(ErrorMessage = "主键Id不能为空")]
|
|
public long Id { get; set; }
|
|
|
|
}
|
|
|
|
public class UpdateMiniBannerInput : MiniBannerInput
|
|
{
|
|
/// <summary>
|
|
/// 主键Id
|
|
/// </summary>
|
|
[Required(ErrorMessage = "主键Id不能为空")]
|
|
public long Id { get; set; }
|
|
|
|
}
|
|
|
|
public class QueryeMiniBannerInput : DeleteMiniBannerInput
|
|
{
|
|
|
|
}
|
|
}
|