46951d871a
- TaxSeason / CurrentSeasonDto에 RelatedCategorySlug 추가 - TaxSeasonCalendar 각 시즌에 카테고리 슬러그 매핑 (income-tax→income-tax, vat-1st/2nd→vat, 종부세→real-estate-tax 등) - IBlogPostRepository.GetByCategorySlugAsync 추가 - BlogService.GetSeasonalPostsAsync: 시즌 관련 글 2개 우선 + 나머지 최신 글로 채움 - IndexModel: SeasonalPosts / RecentPosts 분리 로드 - Index.cshtml 블로그 섹션: 시즌 중 "이번 시즌 추천" 배지 + 시즌별 전체보기 버튼 - site.css: blog-card--seasonal, seasonal-blog-tag, btn-seasonal 스타일 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
21 lines
761 B
C#
21 lines
761 B
C#
namespace TaxBaik.Application.Seasonal;
|
|
|
|
public record TaxSeason
|
|
{
|
|
public string Key { get; init; } = "";
|
|
public string Name { get; init; } = "";
|
|
|
|
public int StartMonth { get; init; }
|
|
public int StartDay { get; init; }
|
|
public int EndMonth { get; init; }
|
|
public int EndDay { get; init; }
|
|
|
|
public string HeroHeadline { get; init; } = "";
|
|
public string HeroSubtext { get; init; } = "";
|
|
public string UrgencyBadge { get; init; } = "";
|
|
public string FocusService { get; init; } = "";
|
|
public string CtaText { get; init; } = "상담 신청하기";
|
|
/// <summary>블로그 시즌 연동 시 우선 노출할 카테고리 slug (categories.slug 참조)</summary>
|
|
public string RelatedCategorySlug { get; init; } = "";
|
|
}
|