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.
75 lines
1.6 KiB
75 lines
1.6 KiB
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Znyc.Recruitment.Admin.Security.Dtos
|
|
{
|
|
/// <summary>
|
|
/// Banner入参
|
|
/// </summary>
|
|
public class BannerInput
|
|
{
|
|
|
|
/// <summary>
|
|
/// 图片描述
|
|
/// </summary>
|
|
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 图片URL
|
|
/// </summary>
|
|
public string PicUrl { get; set; }
|
|
|
|
/// <summary>
|
|
/// 类型0未关联,1电话,2链接
|
|
/// </summary>
|
|
[Required]
|
|
|
|
public int Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// 电话
|
|
/// </summary>
|
|
public string Phone { get; set; }
|
|
|
|
/// <summary>
|
|
/// 跳转页面
|
|
/// </summary>
|
|
public string PageUrl { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 开始时间
|
|
/// </summary>
|
|
[Required]
|
|
public DateTime StartTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 结束时间
|
|
/// </summary>
|
|
[Required]
|
|
public DateTime EndTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否主图:0.非主图1.主图
|
|
/// </summary>
|
|
// public bool IsMaster { get; set; }
|
|
|
|
/// <summary>
|
|
/// 排序
|
|
/// </summary>
|
|
// public int Sort { get; set; }
|
|
|
|
/// <summary>
|
|
/// 状态 0-起开始/1-进行中/2-已结束
|
|
/// </summary>
|
|
// public int Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// 文字描述
|
|
/// </summary>
|
|
// public string TextDesc { get; set; }
|
|
|
|
|
|
}
|
|
}
|