mall:完善商品品牌的前后端实现

This commit is contained in:
YunaiV
2022-07-30 22:15:03 +08:00
parent efd4942129
commit fa9823161e
22 changed files with 287 additions and 566 deletions

View File

@@ -16,9 +16,8 @@ CREATE TABLE IF NOT EXISTS "product_category" (
CREATE TABLE IF NOT EXISTS "product_brand" (
"id" bigint(20) NOT NULL GENERATED BY DEFAULT AS IDENTITY,
"category_id" bigint(20) NOT NULL,
"name" varchar(255) NOT NULL,
"banner_url" varchar(255) NOT NULL,
"pic_url" varchar(255) NOT NULL,
"sort" int(11),
"description" varchar(1024),
"status" tinyint(4) NOT NULL,
@@ -28,4 +27,4 @@ CREATE TABLE IF NOT EXISTS "product_brand" (
"update_time" datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
"deleted" bit NOT NULL DEFAULT FALSE,
PRIMARY KEY ("id")
) COMMENT '品牌';
) COMMENT '商品品牌';