52 lines
1.0 KiB
C#
52 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using ARW.Model.Models.Business.Advertisement.SearchRecommends;
|
|
|
|
namespace ARW.Model.Dto.Business.Advertisement.SearchRecommends
|
|
{
|
|
/// <summary>
|
|
/// 搜索推荐输入对象
|
|
///
|
|
/// @author lwh
|
|
/// @date 2023-10-25
|
|
/// </summary>
|
|
public class SearchRecommendDto
|
|
{
|
|
|
|
public int SearchRecommendId { get; set; }
|
|
|
|
public long SearchRecommendGuid { get; set; }
|
|
|
|
[Required(ErrorMessage = "搜索推荐标题不能为空")]
|
|
public string SearchRecommendTitle { get; set; }
|
|
|
|
[Required(ErrorMessage = "排序不能为空")]
|
|
public int SearchRecommendSort { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 搜索推荐查询对象
|
|
///
|
|
/// @author lwh
|
|
/// @date 2023-10-25
|
|
/// </summary>
|
|
public class SearchRecommendQueryDto : PagerInfo
|
|
{
|
|
|
|
public string SearchRecommendTitle { get; set; }
|
|
|
|
public string ids { get; set; }
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|