import{G as e,O as l,C as a,D as o,P as r}from"./element-plus-DSMJnpwa.js";import{p as t}from"./index-mv7arXuk.js";/* empty css                     *//* empty css               *//* empty css               */import{B as u,H as m,I as s,u as d,O as n,M as p,c as f,d as i}from"./vue-vendor-DZekML78.js";const b=u({__name:"basicInfoForm",props:{info:t.any.def({})},setup(t){const u=t,b=f(()=>u.info),c=i({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(t,u)=>{const f=o,i=a,V=l,_=r,g=e;return m(),s(g,{ref:"basicInfoForm",model:d(b),rules:d(c),"label-width":"150px"},{default:n(()=>[p(_,null,{default:n(()=>[p(V,{span:12},{default:n(()=>[p(i,{label:"表名称",prop:"tableName"},{default:n(()=>[p(f,{modelValue:d(b).tableName,"onUpdate:modelValue":u[0]||(u[0]=e=>d(b).tableName=e),placeholder:"请输入仓库名称"},null,8,["modelValue"])]),_:1})]),_:1}),p(V,{span:12},{default:n(()=>[p(i,{label:"表描述",prop:"tableComment"},{default:n(()=>[p(f,{modelValue:d(b).tableComment,"onUpdate:modelValue":u[1]||(u[1]=e=>d(b).tableComment=e),placeholder:"请输入"},null,8,["modelValue"])]),_:1})]),_:1}),p(V,{span:12},{default:n(()=>[p(i,{label:"实体类名称",prop:"className"},{default:n(()=>[p(f,{modelValue:d(b).className,"onUpdate:modelValue":u[2]||(u[2]=e=>d(b).className=e),placeholder:"请输入"},null,8,["modelValue"])]),_:1})]),_:1}),p(V,{span:12},{default:n(()=>[p(i,{label:"作者",prop:"functionAuthor"},{default:n(()=>[p(f,{modelValue:d(b).functionAuthor,"onUpdate:modelValue":u[3]||(u[3]=e=>d(b).functionAuthor=e),placeholder:"请输入"},null,8,["modelValue"])]),_:1})]),_:1}),p(V,{span:24},{default:n(()=>[p(i,{label:"备注",prop:"remark"},{default:n(()=>[p(f,{modelValue:d(b).remark,"onUpdate:modelValue":u[4]||(u[4]=e=>d(b).remark=e),type:"textarea",rows:3},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}});export{b as _};
