key1_beacon_api/ARW.Model/Dto/Business/Advertisement/Notices/NoticeDto.cs
2023-10-09 22:40:04 +08:00

55 lines
1.0 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using ARW.Model.Models.Business.Advertisement.Notices;
namespace ARW.Model.Dto.Business.Advertisement.Notices
{
/// <summary>
/// 公告输入对象
///
/// @author lwh
/// @date 2023-10-09
/// </summary>
public class NoticeDto
{
public int NoticeId { get; set; }
public long NoticeGuid { get; set; }
[Required(ErrorMessage = "标题不能为空")]
public string NoticeTitle { get; set; }
[Required(ErrorMessage = "内容不能为空")]
public string NoticeContent { get; set; }
[Required(ErrorMessage = "排序不能为空")]
public int NoticeSort { get; set; }
}
/// <summary>
/// 公告查询对象
///
/// @author lwh
/// @date 2023-10-09
/// </summary>
public class NoticeQueryDto : PagerInfo
{
public string NoticeTitle { get; set; }
public string ids { get; set; }
}
}