Files
ShopSolution-backend/Webshop.Application/DTOs/Shop/AdminShopInfoDto.cs
Tizian.Breuch 1692fe198e shop info
2025-08-12 11:07:15 +02:00

47 lines
1.2 KiB
C#

// src/Webshop.Application/DTOs/Admin/AdminShopInfoDto.cs
using System.ComponentModel.DataAnnotations;
namespace Webshop.Application.DTOs.Shop
{
public class AdminShopInfoDto
{
[Required, MaxLength(255)]
public string ShopName { get; set; } = string.Empty;
[MaxLength(500)]
public string? Slogan { get; set; }
[Required, EmailAddress, MaxLength(255)]
public string ContactEmail { get; set; } = string.Empty;
[Phone, MaxLength(50)]
public string? PhoneNumber { get; set; }
[MaxLength(255)]
public string? Street { get; set; }
[MaxLength(100)]
public string? City { get; set; }
[MaxLength(20)]
public string? PostalCode { get; set; }
[MaxLength(100)]
public string? Country { get; set; }
[MaxLength(50)]
public string? VatNumber { get; set; }
[MaxLength(100)]
public string? CompanyRegistrationNumber { get; set; }
[Url, MaxLength(255)]
public string? FacebookUrl { get; set; }
[Url, MaxLength(255)]
public string? InstagramUrl { get; set; }
[Url, MaxLength(255)]
public string? TwitterUrl { get; set; }
}
}