sozsoft-platform/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/AssignedBranchViewModel.cs
2026-10-14 12:07:11 +03:00

35 lines
806 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
namespace Sozsoft.Platform.Identity.Dto;
public class AssignedBranchViewModel
{
public Guid Id { get; set; }
public string Name { get; set; }
public bool IsAssigned { get; set; }
public Guid? DefaultWarehouseId { get; set; }
public Guid? DefaultLocationId { get; set; }
/// <summary>Şubenin depoları ve konumları; varsayılan depo/konum seçimini besler, kayıtta yok sayılır.</summary>
public BranchWarehouseViewModel[] Warehouses { get; set; } = [];
}
public class BranchWarehouseViewModel
{
public Guid Id { get; set; }
public string Name { get; set; }
public BranchLocationViewModel[] Locations { get; set; } = [];
}
public class BranchLocationViewModel
{
public Guid Id { get; set; }
public string Name { get; set; }
}