임산물 현황 CRUD Core

This commit is contained in:
주우성
2025-06-14 19:59:21 +09:00
parent 3685f75bb9
commit acedcb34ab
43 changed files with 1182 additions and 0 deletions

View File

@@ -1207,6 +1207,17 @@ CREATE TABLE forest_product (
crop_code varchar(255), -- 작물부호 (매핑코드)
land_area integer, -- 면적
month varchar(7) NOT NULL, -- 조사시행 월 (yyyy-mm)
main_yield NUMERIC(10, 2), -- 수확량
main_yield_unit_code varchar(255), -- 수확 단위 (매핑코드)
main_sale_amount NUMERIC(10, 2), -- 판매량
main_sale_unit_code varchar(255), -- 판매 단위 (매핑코드)
sub_yield NUMERIC(10, 2), -- 수확량
sub_yield_unit_code varchar(255), -- 수확 단위 (매핑코드)
sub_sale_amount NUMERIC(10, 2), -- 판매량
sub_sale_unit_code varchar(255), -- 판매 단위 (매핑코드)
created_at timestamp(6), -- 생성일
created_by varchar(255), -- 생성자
updated_at timestamp(6), -- 수정일
@@ -1231,6 +1242,17 @@ COMMENT ON COLUMN forest_product.crop_name IS '재배작물명';
COMMENT ON COLUMN forest_product.crop_code IS '작물부호 (매핑코드)';
COMMENT ON COLUMN forest_product.land_area IS '면적';
COMMENT ON COLUMN forest_product.month IS '조사시행 월 (yyyy-mm)';
COMMENT ON COLUMN forest_product.main_yield IS '주 생산물 수확량';
COMMENT ON COLUMN forest_product.main_yield_unit_code IS '주 생산물 수확 단위 (매핑코드)';
COMMENT ON COLUMN forest_product.main_sale_amount IS '주 생산물 판매량';
COMMENT ON COLUMN forest_product.main_sale_unit_code IS '주 생산물 판매 단위 (매핑코드)';
COMMENT ON COLUMN forest_product.sub_yield IS '주 생산물 수확량';
COMMENT ON COLUMN forest_product.sub_yield_unit_code IS '주 생산물 수확 단위 (매핑코드)';
COMMENT ON COLUMN forest_product.sub_sale_amount IS '주 생산물 판매량';
COMMENT ON COLUMN forest_product.sub_sale_unit_code IS '주 생산물 판매 단위 (매핑코드)';
COMMENT ON COLUMN forest_product.created_at IS '생성일';
COMMENT ON COLUMN forest_product.created_by IS '생성자';
COMMENT ON COLUMN forest_product.updated_at IS '수정일';