package consts // root const RootPath = "/Users/PC/Desktop/service/" const ExcelPath = "codecreate/resource/EntityDefine.xlsx" const TemplateRootPath = "codecreate/template/" // in const ControllerCenterInPath = RootPath + TemplateRootPath + "controller_center.txt" const ControllerInPath = RootPath + TemplateRootPath + "controller.txt" const EntityInPath = RootPath + TemplateRootPath + "entity.txt" const ErrCodeInPath = RootPath + TemplateRootPath + "errcode.txt" const IdGeneratorInPath = RootPath + TemplateRootPath + "idgenerator.txt" const MongoInPath = RootPath + TemplateRootPath + "mongo.txt" const ProtoInPath = RootPath + TemplateRootPath + "proto.txt" const ServiceCenterInPath = RootPath + TemplateRootPath + "service_center.txt" const ServiceInPath = RootPath + TemplateRootPath + "service.txt" // out const ControllerOutPath = "app/mix/controller/" const ControllerCenterOutPath = "app/mix/controller/" const ServiceOutPath = "app/mix/service/logic/" const ServiceCenterOutPath = "app/mix/service/" const EntityOutPath = "dbstruct/" const ErrcodeOutPath = "api/errcode/" const IdgeneratorOutPath = "library/idgenerator/" const MongoOutPath = "app/mix/dao/" const ProtoOutPath = "api/proto/" // placeholder const EntityNamePlaceHolder = "#{EntityName}" const EntityCNNamePlaceHolder = "#{EntityCNName}" const ModuleNamePlaceHolder = "#{moduleName}" const ErrCodeSeqPlaceHolder = "#{ErrCodeSeq}" const EntityDefinationPlaceHolder = "#{EntityDefination}"