ShopPlatform.Web 1.0.0.0
농산물, 소프트웨어 라이선스와 개발 용역을 직접 판매하는 CodeMaru 직영 쇼핑몰입니다.
로딩중...
검색중...
일치하는것 없음
ShopConfig.cs
이 파일의 문서화 페이지로 가기
1namespace ShopPlatform.Models;
2
11public sealed class ShopConfig
12{
21 public string Slug { get; set; } = string.Empty;
22
31 public string ShopName { get; set; } = "내 쇼핑몰";
32
41 public string Description { get; set; } = string.Empty;
42
51 public string? LogoPath { get; set; }
52
61 public string HeroText { get; set; } = string.Empty;
62
71 public string HeroSubText { get; set; } = string.Empty;
72
81 public string? BannerImagePath { get; set; }
82
91 public int FeaturedCount { get; set; } = 4;
92
101 public string OgTitle { get; set; } = string.Empty;
102
111 public string OgDescription { get; set; } = string.Empty;
112
121 public string? OgImagePath { get; set; }
122
131 public bool IsActive { get; set; } = true;
132
141 public bool ShowPlatformHomeLink { get; set; } = true;
142
151 public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
152
161 public string AdminPasswordHash { get; set; } = string.Empty;
162
171 public string OwnerUserId { get; set; } = string.Empty;
172
181 public string OwnerProvider { get; set; } = string.Empty;
190 public string OwnerEmail { get; set; } = string.Empty;
199 public string OwnerDisplayName { get; set; } = string.Empty;
208 public DateTime? OwnerLinkedAt { get; set; }
209
218 public List<ShopAdminUser> AdminUsers { get; set; } = new();
219
228 public ShopBusinessInfo Business { get; set; } = new();
229
238 public ShopPolicy Policy { get; set; } = new();
239
248 public ShopPaymentConfig Payment { get; set; } = new();
249}
250
259public sealed class ShopBusinessInfo
260{
269 public string CompanyName { get; set; } = string.Empty; // 상호명
278 public string Representative { get; set; } = string.Empty; // 대표자명
287 public string BusinessNumber { get; set; } = string.Empty; // 사업자등록번호
296 public string Address { get; set; } = string.Empty; // 주소
305 public string ManagerName { get; set; } = string.Empty; // 운영관리자
314 public string Email { get; set; } = string.Empty; // 이메일
323 public string Phone { get; set; } = string.Empty; // 전화
332 public string TaxType { get; set; } = string.Empty; // 간이과세자 등 세금 유형 문구
341 public string CopyrightText { get; set; } = string.Empty; // © 문구
342}
343
352public sealed class ShopAdminUser
353{
362 public string UserId { get; set; } = string.Empty;
371 public string Provider { get; set; } = string.Empty;
380 public string Email { get; set; } = string.Empty;
389 public string DisplayName { get; set; } = string.Empty;
398 public string Role { get; set; } = "Admin";
407 public DateTime AddedAt { get; set; } = DateTime.UtcNow;
408}
409
418public sealed class ShopPolicy
419{
428 public string RefundPolicy { get; set; } = string.Empty; // 환불 정책
437 public string ExchangePolicy { get; set; } = string.Empty; // 교환/반품 안내
446 public string DeliveryPolicy { get; set; } = string.Empty; // 배송 안내
447}
448
457public sealed class ShopPaymentConfig
458{
467 public bool IsEnabled { get; set; } = false;
468
477 public bool IsTestMode { get; set; } = true;
478
487 public string TossClientKey { get; set; } = string.Empty;
488
497 public string TossSecretKeyEncrypted { get; set; } = string.Empty;
498
507 public string SuccessReturnUrl { get; set; } = string.Empty;
508
517 public string FailReturnUrl { get; set; } = string.Empty;
518}
List< ShopAdminUser > AdminUsers