파일 정리

This commit is contained in:
2025-12-24 22:50:13 +09:00
parent 05d89fdfcd
commit 2877a474eb
22 changed files with 1274 additions and 646 deletions

View File

@@ -3,6 +3,7 @@ import { FarmModel } from 'src/farm/entities/farm.entity';
import {
Column,
Entity,
Index,
JoinColumn,
ManyToOne,
PrimaryGeneratedColumn,
@@ -20,6 +21,7 @@ export class MptModel extends BaseModel {
})
pkMptNo: number;
@Index('idx_mpt_cow_id')
@Column({
name: 'cow_id',
type: 'varchar',
@@ -38,6 +40,7 @@ export class MptModel extends BaseModel {
})
cowShortNo: string;
@Index('idx_mpt_fk_farm_no')
@Column({
name: 'fk_farm_no',
type: 'int',