feat: 사주 명식 카드 — 오행 세력 막대·가장 센 오행 그림, 신강·신약, 기둥별 십성·일간 '나'·월령, 용어 풀이 (API me.elements·strong·십성 추가, GA saju_view 에 strength·top_element)
This commit is contained in:
1 parent
63db0b725b
commit
d7f891fddb
14 files changed
+131
-15
No files matched your search
@@ -37,6 +37,8 @@ class SajuPillar(WebPacketProtocol):
|
||||
branch_ko: str
|
||||
stem_element: str = Field(description="木火土金水")
|
||||
branch_element: str
|
||||
stem_ten_god: Optional[str] = Field(None, description="천간 십성 (일간은 없음)")
|
||||
branch_ten_god: str = Field(description="지지 십성 (정기 기준)")
|
||||
|
||||
|
||||
class SajuMe(WebPacketProtocol):
|
||||
@@ -49,6 +51,10 @@ class SajuMe(WebPacketProtocol):
|
||||
season: Optional[str] = None
|
||||
climate: Optional[str] = Field(None, description="따뜻·마름 / 따뜻·촉촉 / 서늘·마름 / 서늘·촉촉")
|
||||
need: list[str] = Field([], description="내 기운에 필요한 것 (따뜻함·마른 공기 등)")
|
||||
elements: dict[str, float] = Field({}, description="오행 세력 점수 木火土金水 (월지 30·일지 20·나머지 10, 지지는 지장간 날 수로 나눔)")
|
||||
top_element: Optional[str] = Field(None, description="가장 센 오행")
|
||||
strong: Optional[bool] = Field(None, description="신강이면 true, 신약이면 false")
|
||||
support: Optional[float] = Field(None, description="일간을 뺀 점수 중 일간을 돕는 기운 몫 0~1")
|
||||
|
||||
|
||||
class SajuCard(WebPacketProtocol):
|
||||
|
||||
Reference in new issue
Block a user