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

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