entity 수정

This commit is contained in:
2025-12-19 17:56:09 +09:00
parent c8bd04f124
commit d3dda3d929
2 changed files with 11 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ export class CowModel extends BaseModel {
type: 'varchar', type: 'varchar',
length: 1, length: 1,
nullable: true, nullable: true,
comment: '성별 (M/F)', comment: '성별 (암/수)',
}) })
cowSex: string; cowSex: string;

View File

@@ -20,12 +20,21 @@ export class MptModel extends BaseModel {
}) })
pkMptNo: number; pkMptNo: number;
@Column({
name: 'cow_id',
type: 'varchar',
length: 15,
nullable: true,
comment: '개체식별번호 (KOR...)',
})
cowId: string;
@Column({ @Column({
name: 'cow_short_no', name: 'cow_short_no',
type: 'varchar', type: 'varchar',
length: 4, length: 4,
nullable: true, nullable: true,
comment: '개체 요약번호', comment: '개체 요약번호 (뒤 4자리)',
}) })
cowShortNo: string; cowShortNo: string;