- DeviceExportRequestDto: 목록 필터와 동일한 필터 파라미터 (page/size 제외) - IDeviceRepository/DeviceRepository: GetAllFilteredAsync 추가 (전체 반환) - DeviceService: ClosedXML 기반 엑셀 생성 (14개 컬럼) - DeviceController: POST /v1/in/device/export [Authorize] 엔드포인트 추가 Closes #241
25 lines
595 B
C#
25 lines
595 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace SPMS.Application.DTOs.Device;
|
|
|
|
public class DeviceExportRequestDto
|
|
{
|
|
[JsonPropertyName("platform")]
|
|
public string? Platform { get; set; }
|
|
|
|
[JsonPropertyName("push_agreed")]
|
|
public bool? PushAgreed { get; set; }
|
|
|
|
[JsonPropertyName("tags")]
|
|
public List<int>? Tags { get; set; }
|
|
|
|
[JsonPropertyName("is_active")]
|
|
public bool? IsActive { get; set; }
|
|
|
|
[JsonPropertyName("keyword")]
|
|
public string? Keyword { get; set; }
|
|
|
|
[JsonPropertyName("marketing_agreed")]
|
|
public bool? MarketingAgreed { get; set; }
|
|
}
|