简体   繁体   English

Php中的库存管理系统

[英]Inventory Management System In Php

I am workin on a project in which i need to design and hotel inventory management system below are mention few point which i need to keep in mind while creating such flow 我正在从事一个项目,在该项目中,我需要设计和酒店库存管理系统,以下是我在创建此类流程时需要牢记的几点

  1. user Interface of the system should look like an excel sheet where Column Should represent date and row should represent number of room in each category. 系统的用户界面应类似于excel工作表,其中“列”代表日期,“行”代表每个类别中的房间数。
  2. Boxes in user interface should be clickable. 用户界面中的框应该是可单击的。
  3. by clicking on that box user should be able to block that particular cell and block his inventory 通过单击该框,用户应该能够阻止该特定单元格并阻止其库存
  4. Also on second click on that block celll user should be able to open that block inventory 同样在第二次点击该大提琴小区用户时,应该能够打开该大提琴库存。
  5. Blocked Inventory should show some icon like cross to represent that is inventory is blocked 被阻止的库存应显示一些图标,如叉号,表示被阻止的库存

Now below are few questions on which i would like to have your help. 下面是我想寻求您帮助的一些问题。

  1. How this user interface can be build on php 如何在php上构建此用户界面
  2. How i need to design my sql query 我需要如何设计我的SQL查询
  3. How database normalization should be done in such case 在这种情况下应如何进行数据库规范化

i have not build a single line of code so would not be able to share. 我还没有建立一行代码,因此无法共享。 would request you to suggest some artical or webpage where i can understand such inventory management system. 会要求您提出一些我可以理解这种库存管理系统的文章或网页。

Thanks Pratik Verma 感谢Pratik Verma

In the database aspect of your question: 在您的问题的数据库方面:

To normalize you should make sure you don't have repeating information, generally don't store fields that are calculated, and make sure the relationships of your tables are one to many if possible. 为了规范化,您应该确保没有重复的信息,通常不要存储计算出的字段,并确保表之间的关系尽可能一对一。 Assign meaningful primary and foreign keys that are unique to their tables. 为其表分配有意义的主键和外键。 Referential integrity is key! 参照完整性是关键! I'd also stay away from null values. 我还要远离null值。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM