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;