using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using ARW.Model.Models.Business.Advertisement.Notices; namespace ARW.Model.Dto.Business.Advertisement.Notices { /// /// 公告输入对象 /// /// @author lwh /// @date 2023-10-09 /// 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; } } /// /// 公告查询对象 /// /// @author lwh /// @date 2023-10-09 /// public class NoticeQueryDto : PagerInfo { public string NoticeTitle { get; set; } public string ids { get; set; } } }