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.
70 lines
1.4 KiB
70 lines
1.4 KiB
using GDZZ.Application.Enum;
|
|
using GDZZ.Core;
|
|
using Microsoft.AspNetCore.Http;
|
|
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace GDZZ.Application
|
|
{
|
|
/// <summary>
|
|
/// 活动广告列表输入参数
|
|
/// </summary>
|
|
public class MiniBannerInput : PageInputBase
|
|
{
|
|
|
|
/// <summary>
|
|
/// 活动名字
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 跳转链接
|
|
/// </summary>
|
|
public virtual string Skip { get; set; }
|
|
|
|
/// <summary>
|
|
/// 活动类型
|
|
/// </summary>
|
|
public BannerEnum Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// 广告图片
|
|
/// </summary>
|
|
public virtual string Url { get; set; }
|
|
|
|
|
|
}
|
|
|
|
public class AddMiniBannerInput : MiniBannerInput
|
|
{
|
|
|
|
|
|
}
|
|
|
|
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
|
|
{
|
|
|
|
}
|
|
}
|