import{a as _,E as b}from"./el-form-item-BvJauXBe.js";import{d as c,o as V,a0 as g,e as l,p as o,m as e,t as N,b3 as E,T as C,r as k}from"./index-XuO881sr.js";import{E as w}from"./el-row-eghH2z0a.js";import{E as x}from"./el-col-DKCbe2AW.js";const y=c({__name:"basicInfoForm",props:{info:E.any.def({})},setup(s){const p=s,a=C(()=>p.info),d=k({tableName:[{required:!0,message:"请输入表名称",trigger:"blur"}],tableComment:[{required:!0,message:"请输入表描述",trigger:"blur"}],className:[{required:!0,message:"请输入实体类名称",trigger:"blur"}],functionAuthor:[{required:!0,message:"请输入作者",trigger:"blur"}]});return(F,t)=>{const m=N,n=b,u=x,f=w,i=_;return V(),g(i,{ref:"basicInfoForm",model:l(a),rules:l(d),"label-width":"150px"},{default:o(()=>[e(f,null,{default:o(()=>[e(u,{span:12},{default:o(()=>[e(n,{label:"表名称",prop:"tableName"},{default:o(()=>[e(m,{modelValue:l(a).tableName,"onUpdate:modelValue":t[0]||(t[0]=r=>l(a).tableName=r),placeholder:"请输入仓库名称"},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{span:12},{default:o(()=>[e(n,{label:"表描述",prop:"tableComment"},{default:o(()=>[e(m,{modelValue:l(a).tableComment,"onUpdate:modelValue":t[1]||(t[1]=r=>l(a).tableComment=r),placeholder:"请输入"},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{span:12},{default:o(()=>[e(n,{label:"实体类名称",prop:"className"},{default:o(()=>[e(m,{modelValue:l(a).className,"onUpdate:modelValue":t[2]||(t[2]=r=>l(a).className=r),placeholder:"请输入"},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{span:12},{default:o(()=>[e(n,{label:"作者",prop:"functionAuthor"},{default:o(()=>[e(m,{modelValue:l(a).functionAuthor,"onUpdate:modelValue":t[3]||(t[3]=r=>l(a).functionAuthor=r),placeholder:"请输入"},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{span:24},{default:o(()=>[e(n,{label:"备注",prop:"remark"},{default:o(()=>[e(m,{modelValue:l(a).remark,"onUpdate:modelValue":t[4]||(t[4]=r=>l(a).remark=r),type:"textarea",rows:3},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}});export{y as _};
