feat: 租户账单公告通知接口
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using MediatR;
|
||||
using TakeoutSaaS.Application.App.Tenants.Dto;
|
||||
using TakeoutSaaS.Domain.Tenants.Enums;
|
||||
|
||||
namespace TakeoutSaaS.Application.App.Tenants.Commands;
|
||||
|
||||
/// <summary>
|
||||
/// 创建租户公告命令。
|
||||
/// </summary>
|
||||
public sealed record CreateTenantAnnouncementCommand : IRequest<TenantAnnouncementDto>
|
||||
{
|
||||
public long TenantId { get; init; }
|
||||
public string Title { get; init; } = string.Empty;
|
||||
public string Content { get; init; } = string.Empty;
|
||||
public TenantAnnouncementType AnnouncementType { get; init; } = TenantAnnouncementType.System;
|
||||
public int Priority { get; init; } = 0;
|
||||
public DateTime EffectiveFrom { get; init; } = DateTime.UtcNow;
|
||||
public DateTime? EffectiveTo { get; init; }
|
||||
public bool IsActive { get; init; } = true;
|
||||
}
|
||||
Reference in New Issue
Block a user