Quan hệ Ràng buộc toàn vẹn ProductTypes - Khóa chính: type_id (Áo, quần) ProductImages - Khóa chính: image_id (Hình preview) Products - Khóa chính: product_id - Khóa ngoại: product_type, category_id - Khi tạo sản phẩm thì các thuộc tính khóa ngoại đều không được NULL. - Các trường thuộc tính có thể NULL: description, meterial, origin, pattern. Options Colors Sizes Categories Bills Bill_Detail StatusOrders Users Roles