From da1f4c3ca675436a6fbc0b5c6a60fca7676980a7 Mon Sep 17 00:00:00 2001 From: ll0zlk Date: Sun, 22 Sep 2024 01:59:12 +0900 Subject: [PATCH] Upload Cloth&Top&Shirt --- .idea/.gitignore | 8 ++ .idea/24_2_BE_Beginner_Week2_team1.iml | 11 +++ .idea/misc.xml | 6 ++ .idea/modules.xml | 9 ++ .idea/uiDesigner.xml | 124 +++++++++++++++++++++++++ .idea/vcs.xml | 6 ++ module/module.iml | 11 +++ module/src/Cloth.java | 26 ++++++ module/src/Main.java | 7 ++ module/src/Shirt.java | 15 +++ module/src/Top.java | 12 +++ out/production/module/Cloth.class | Bin 0 -> 1906 bytes out/production/module/Main.class | Bin 0 -> 880 bytes out/production/module/Shirt.class | Bin 0 -> 1624 bytes out/production/module/Top.class | Bin 0 -> 846 bytes 15 files changed, 235 insertions(+) create mode 100644 .idea/.gitignore create mode 100644 .idea/24_2_BE_Beginner_Week2_team1.iml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/uiDesigner.xml create mode 100644 .idea/vcs.xml create mode 100644 module/module.iml create mode 100644 module/src/Cloth.java create mode 100644 module/src/Main.java create mode 100644 module/src/Shirt.java create mode 100644 module/src/Top.java create mode 100644 out/production/module/Cloth.class create mode 100644 out/production/module/Main.class create mode 100644 out/production/module/Shirt.class create mode 100644 out/production/module/Top.class diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..c3f502a --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# 디폴트 무시된 파일 +/shelf/ +/workspace.xml +# 에디터 기반 HTTP 클라이언트 요청 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/24_2_BE_Beginner_Week2_team1.iml b/.idea/24_2_BE_Beginner_Week2_team1.iml new file mode 100644 index 0000000..b107a2d --- /dev/null +++ b/.idea/24_2_BE_Beginner_Week2_team1.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..4444b22 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..7be0d1b --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml new file mode 100644 index 0000000..2b63946 --- /dev/null +++ b/.idea/uiDesigner.xml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/module/module.iml b/module/module.iml new file mode 100644 index 0000000..c90834f --- /dev/null +++ b/module/module.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/module/src/Cloth.java b/module/src/Cloth.java new file mode 100644 index 0000000..9d2e7ce --- /dev/null +++ b/module/src/Cloth.java @@ -0,0 +1,26 @@ +public abstract class Cloth { + private String name; + private String material; + private String color; + private char size; + private int season; + private boolean cleanliness; + + public Cloth(String name, String material, String color, Character size, Integer season, Boolean cleanliness) { + this.name = name; + this.material = material; + this.color = color; + this.size = size; + this.season = season; + this.cleanliness = cleanliness; + } + + public void displayClothInfo() { + System.out.println("Name: " + name); + System.out.println("Material: " + material); + System.out.println("Color: " + color); + System.out.println("Size: " + size); + System.out.println("Season: " + season); + System.out.println("Cleanliness: " + cleanliness); + } +} \ No newline at end of file diff --git a/module/src/Main.java b/module/src/Main.java new file mode 100644 index 0000000..b0e81ba --- /dev/null +++ b/module/src/Main.java @@ -0,0 +1,7 @@ +public class Main { + public static void main(String[] args) { + // 명령어 구현 안 한 그저 확인용 코드... + Shirt shirt = new Shirt("Basic Shirt", "Cotton", "White", 'M', 1, true, "Long", "Round"); + shirt.displayClothInfo(); + } +} \ No newline at end of file diff --git a/module/src/Shirt.java b/module/src/Shirt.java new file mode 100644 index 0000000..a991bc2 --- /dev/null +++ b/module/src/Shirt.java @@ -0,0 +1,15 @@ +public class Shirt extends Top { + private String collarShape; + + public Shirt(String name, String material, String color, Character size, Integer season, Boolean cleanliness, String sleeveLength, String collarShape) { + super(name, material, color, size, season, cleanliness, sleeveLength); + this.collarShape = collarShape; + } + + @Override + public void displayClothInfo() { + super.displayClothInfo(); + System.out.println("Sleeve Length: " + this.getSleeveLength()); + System.out.println("Collar Shape: " + collarShape); + } +} \ No newline at end of file diff --git a/module/src/Top.java b/module/src/Top.java new file mode 100644 index 0000000..d50c6be --- /dev/null +++ b/module/src/Top.java @@ -0,0 +1,12 @@ +public abstract class Top extends Cloth { + private String sleeveLength; + + public Top(String name, String material, String color, Character size, Integer season, Boolean cleanliness, String sleeveLength) { + super(name, material, color, size, season, cleanliness); + this.sleeveLength = sleeveLength; + } + + public String getSleeveLength() { + return sleeveLength; + } +} \ No newline at end of file diff --git a/out/production/module/Cloth.class b/out/production/module/Cloth.class new file mode 100644 index 0000000000000000000000000000000000000000..9e839f9f12d1a34643a4b50859868df0d7a4e978 GIT binary patch literal 1906 zcmaJ?>sA|86#fo`3=G4ip_Ild_5uiLA>OS`t=dr}HqdG?Rq%F_Ov%7xCT1pG3!lV4 zK15vx*UAqcz=v}Aos-~97FqqX&)Ivvv+sM)KmYdr2JjHSm>9#jfs};_qy^@W<#U<$ zq<@ruTs?MbkwE&s>$}kdf${Z?$`mFsWx%vB4NG9c_JXJ(kn&~I5y+I{=jEvF`bP!z zVAjH%LQghjqoJgqEfSBVHIl(Hgsed z_*7Ihv5pM`ISaROXGqb*An+VXkX7y9Vr2(P*_MSo-V~UwDVXQ_P8d=nzrBrj47_XM zJ-k1Z>+)$BIZZ|tbeQqQej42%|AaY=m`O)A3mF#du7wYAPhhDjPaHe&YchK3Mh)J= zNcs`2tgT`8tz;l@H^T-Z8OLYJx6c*U z9$_$p6uwZ19fc^4L`>jIg?OY82O|&y(Fi{-2KQ3Q|NT@*zy__66b*`8*r>3%?4Zu( znk%uCd!1(0Y46LbM@gm>)TCFDY-;iYVJd34tb|e0!%<)~2}`kgW<4Q4_h49h?gX2q z?uIQ-o@$*%|5+elmV-{a=4`vl6H|ZKQr%84-$h~6maSbUY6SIg5(ji>k3)Lzx|qcG z?9JW5ENa1z912^_q2_)jw#;$TOqFw2)4#RX*@G=goXiEmG4+!B_2B0 ze;%AT`TjQOckDLDIcT2>{Fbcd0N8hUNBVWo30F!%aMEcd%Q9FiiOdZ>+&^tOBjAS# ze1ESMlKnMMVN1^|yOG0^Sw-J>+O{Xd&UgG|E*2EX?xDq1-b4xKcN`EXFw2 zX;SV}-p16X)F+ptKDpiW$@Qd9ZWeuV`J%)D+$Hyd?+l*#++Ps6+g%vBJ6+7=HoKV5 zWm9KZ=pviTPMqPjE^g(r=`+01#pVmGXpi(J9Ra2|qbBJzW@&r@Gc-NRy*P(0%;PZ; zJAE^Fg0INYpmtm6n{r$QlUIA4`#{~U;cMztw^fwsu)5{3&wvHK(NwwrJKrfChkxL$ z+@COd_y9OVq0i3r@M(gb@A0=4f6ew_C)is(Y$w>w9*UZcLtWM(EHJ3c{8KDq6IZwk zm+%Nzae%B2)9Sl32y+}2IyZ)=_?G7y-FEo>J53KY{Xx^8G?kjxa6+s}oChB*Wd8%b C*};$i literal 0 HcmV?d00001 diff --git a/out/production/module/Main.class b/out/production/module/Main.class new file mode 100644 index 0000000000000000000000000000000000000000..410ae7f5396ce59ffca7f82199ec97b87a2ae2b4 GIT binary patch literal 880 zcmb7C+invv5Is&d+08bz=>|f%rlkcoEi~Lg3gRJ=kRolVL{O^23r^x@U2WHB<5c2L z_zhlY1ri^?M(N)}Nbuw+|v=A4L;?a2hTuxM*X^#JR+EV=GcRY{z@b#yUM~i%WXB z)lvh&un@>tyc!?$MDm9BB0{`C^?B6gi8S^Uv~(y()aAg48>Bv%1gZG%{w}N5B|lGw z#4n%Wrtch?IiltVllh@=ZbyxizIZ830R@v|)3g~YsL`C7l>zCHr*ng>I^B%!-1-sN z=ZX6coyHB?cj+vi5U@#Ppn!Y0Plyq}hZ%lg?HlY}ui(vj=So}0Sg?+9f%avu>a84M rHQ4xqTeH~n$dV?DDlDv0DJDndBn}?nAz4*IAK@`&VR%Az22Xzh#B0m? literal 0 HcmV?d00001 diff --git a/out/production/module/Shirt.class b/out/production/module/Shirt.class new file mode 100644 index 0000000000000000000000000000000000000000..b3e17e10fccd8b4e90d8e45238fe95e4551eecb7 GIT binary patch literal 1624 zcmbtU>rN9v6#fRpq_7p>JK{^ii@+Dpo4Dohgy19N60~ll&+_U|P!)ul!RcXupB&peyP8~tYyjF4ATyER{lGI_}=)f%p6x8?F%nt~!|f|s)~0(RL%5?2@oibCZbAr3`OxJ6ZB z7)qtvF~w=_VM%0$1;BRU*k(+*LlqT!+DTNEX8cCJjuPn8pl4B0%4Y zk-?~F#Ewf%bjrFD2g4Y{QHP)H@GrFd|E}B9r*{}amfWKa59DlDysnmag}2RjonYs( zz?~iL*;;QHL#kxc2#s7olPrb1yiCr~GAA0^+#v=LbEHRqeET!~X)HHj`FRg?4}8IW zNrOu?;X324=AUM)L!f-B*X(mfW(L!5p+qb%t6o8D*cyE-0Jx-=M$Dra3 z(2bN{?XRUb9P9Nrxx42Gemo#IK^zBov V9#hdr!I_0cwixNpv4Kq_{{TPFr8@us literal 0 HcmV?d00001 diff --git a/out/production/module/Top.class b/out/production/module/Top.class new file mode 100644 index 0000000000000000000000000000000000000000..85f43bbe520fc29b1ef9d025570cf701eb6fd96d GIT binary patch literal 846 zcmcgq%We}f6g^Jnk)}fn=@b~=?3(b%2L!QbBqXE}3sPn84%Wn#W22dA7kmIKJ_aNZ z5(_?nk3t+zQ!!OnY}j0%`#AR=U;EeZA3p&c;?WR2^kW1GLPP@L+_+{X5WUb=H!lU6 zgZxCE$*GaHoGzM5+j91gk@-qivS?J*CBC+eDldl)oij?>*?75y0k&cc6Ko?9=pVWF z0!eL@I#ao_rB^t*szTu7|5tle#&{_Z%-uUBu$ybE-kh$FRdpnf4I`u671AtarMTz<}r&PcX$&C5 zt4Ar3pPFKy$a7QN#4Q9Zx{ZvzeC!VHvZF^{TTJ#n+}|jh^7P%p$ydam33~8SqBb~e QC7h27HxdLMv{euP0A2RR`2YX_ literal 0 HcmV?d00001