From d3dda3d9299eff721a822715680ef7dd918dc84e Mon Sep 17 00:00:00 2001 From: chu eun ju Date: Fri, 19 Dec 2025 17:56:09 +0900 Subject: [PATCH] =?UTF-8?q?entity=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/cow/entities/cow.entity.ts | 2 +- backend/src/mpt/entities/mpt.entity.ts | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/backend/src/cow/entities/cow.entity.ts b/backend/src/cow/entities/cow.entity.ts index 5aaa6d6..914743c 100644 --- a/backend/src/cow/entities/cow.entity.ts +++ b/backend/src/cow/entities/cow.entity.ts @@ -35,7 +35,7 @@ export class CowModel extends BaseModel { type: 'varchar', length: 1, nullable: true, - comment: '성별 (M/F)', + comment: '성별 (암/수)', }) cowSex: string; diff --git a/backend/src/mpt/entities/mpt.entity.ts b/backend/src/mpt/entities/mpt.entity.ts index 64edbe9..2f3218c 100644 --- a/backend/src/mpt/entities/mpt.entity.ts +++ b/backend/src/mpt/entities/mpt.entity.ts @@ -20,12 +20,21 @@ export class MptModel extends BaseModel { }) pkMptNo: number; + @Column({ + name: 'cow_id', + type: 'varchar', + length: 15, + nullable: true, + comment: '개체식별번호 (KOR...)', + }) + cowId: string; + @Column({ name: 'cow_short_no', type: 'varchar', length: 4, nullable: true, - comment: '개체 요약번호', + comment: '개체 요약번호 (뒤 4자리)', }) cowShortNo: string;