运维系统通知列表维护

This commit is contained in:
2022-04-25 11:54:56 +08:00
parent 6f09114bda
commit 7351415bbc
15 changed files with 328 additions and 173 deletions
@@ -6,60 +6,75 @@
using System;
using IRaCIS.Core.Domain.Share;
using System.Collections.Generic;
using IRaCIS.Core.Application.Contracts;
using IRaCIS.Core.Domain.Share.Management;
namespace IRaCIS.Core.Application.ViewModel
{
/// <summary> SystemNoticeView 列表视图模型 </summary>
public class SystemNoticeView
public class SystemNoticeView : SystemNoticeBasicInfo
{
public Guid Id { get; set; }
public int NoticeLevelEnum { get; set; }
public string NoticeContent { get; set; }
public DateTime CreateTime { get; set; }
public Guid CreateUserId { get; set; }
public DateTime UpdateTime { get; set; }
public Guid UpdateUserId { get; set; }
public int ApplicableProjectEnum { get; set; }
public int NoticeMode { get; set; }
public int NoticeStateEnum { get; set; }
public DateTime? StartDate { get; set; }
public DateTime? EndDate { get; set; }
public string FileName { get; set; }
public string Path { get; set; }
public string FullFilePath { get; set; }
public List<UserTypeSimpleDTO> NoticeUserTypeList { get; set; }
}
///<summary>SystemNoticeQuery 列表查询参数模型</summary>
public class SystemNoticeQuery
public class SystemNoticeQuery:PageInput
{
///<summary> NoticeContent</summary>
public string NoticeContent { get; set; }
public string NoticeContent { get; set; } = string.Empty;
///<summary> FileName</summary>
public string FileName { get; set; }
public string FileName { get; set; } = string.Empty;
public SystemNotice_NoticeTypeEnum? NoticeTypeEnum { get; set; }
public SystemNotice_NoticeLevelEnum? NoticeLevelEnum { get; set; }
public SystemNotice_ApplicableProjectEnum? ApplicableProjectEnum { get; set; }
public SystemNotice_NoticeModeEnum? NoticeModeEnum { get; set; }
public SystemNotice_NoticeStateEnum? NoticeStateEnum { get; set; }
///<summary> Path</summary>
public string Path { get; set; }
}
///<summary> SystemNoticeAddOrEdit 列表查询参数模型</summary>
public class SystemNoticeAddOrEdit
public class SystemNoticeBasicInfo
{
public Guid Id { get; set; }
public int NoticeLevelEnum { get; set; }
public Guid? Id { get; set; }
public string NoticeContent { get; set; }
public DateTime CreateTime { get; set; }
public Guid CreateUserId { get; set; }
public DateTime UpdateTime { get; set; }
public Guid UpdateUserId { get; set; }
public int ApplicableProjectEnum { get; set; }
public int NoticeMode { get; set; }
public int NoticeStateEnum { get; set; }
public SystemNotice_NoticeTypeEnum NoticeTypeEnum { get; set; }
public SystemNotice_NoticeLevelEnum NoticeLevelEnum { get; set; }
public SystemNotice_ApplicableProjectEnum ApplicableProjectEnum { get; set; }
public SystemNotice_NoticeModeEnum NoticeModeEnum { get; set; }
public SystemNotice_NoticeStateEnum NoticeStateEnum { get; set; }
public DateTime? StartDate { get; set; }
public DateTime? EndDate { get; set; }
public string FileName { get; set; }
public string Path { get; set; }
}
///<summary> SystemNoticeAddOrEdit 列表查询参数模型</summary>
public class SystemNoticeAddOrEdit: SystemNoticeBasicInfo
{
public Guid[] NoticeUserTypeIdList { get; set; }
}
public class SystemNoticeUserTypeView
{
public Guid Id { get; set; }