LocationBulkUpdateResultDto.cs
695 Bytes
namespace FoodLabeling.Application.Contracts.Dtos.Location;
/// <summary>
/// 门店批量编辑结果
/// </summary>
public class LocationBulkUpdateResultDto
{
public int SuccessCount { get; set; }
public int FailCount { get; set; }
public List<LocationBulkUpdateErrorDto> Errors { get; set; } = new();
}
/// <summary>
/// 批量编辑中单条失败信息
/// </summary>
public class LocationBulkUpdateErrorDto
{
/// <summary>
/// 在请求 <c>items</c> 数组中的序号(从 1 开始,与前端网格行对应)
/// </summary>
public int RowNumber { get; set; }
public Guid Id { get; set; }
public string Message { get; set; } = string.Empty;
}