优化部分isxxx命名规范

master
paulGao 2021-12-21 19:03:42 +08:00
parent eb56811182
commit fafe9bd020
1 changed files with 10 additions and 10 deletions

View File

@ -2923,12 +2923,12 @@ CREATE TABLE `li_full_discount` (
`full_money` double(20,2) NOT NULL COMMENT '优惠门槛金额', `full_money` double(20,2) NOT NULL COMMENT '优惠门槛金额',
`full_rate` double(20,2) DEFAULT NULL COMMENT '打折', `full_rate` double(20,2) DEFAULT NULL COMMENT '打折',
`gift_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '赠品ID', `gift_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '赠品ID',
`is_coupon` bit(1) DEFAULT NULL COMMENT '是否赠优惠券', `coupon_flag` bit(1) DEFAULT NULL COMMENT '是否赠优惠券',
`is_free_freight` bit(1) DEFAULT NULL COMMENT '是否包邮', `free_freight_flag` bit(1) DEFAULT NULL COMMENT '是否包邮',
`is_full_minus` bit(1) DEFAULT NULL COMMENT '活动是否减现金', `full_minus_flag` bit(1) DEFAULT NULL COMMENT '活动是否减现金',
`is_full_rate` bit(1) DEFAULT NULL COMMENT '是否打折', `full_rate_flag` bit(1) DEFAULT NULL COMMENT '是否打折',
`is_gift` bit(1) DEFAULT NULL COMMENT '是否有赠品', `gift_flag` bit(1) DEFAULT NULL COMMENT '是否有赠品',
`is_point` bit(1) DEFAULT NULL COMMENT '是否赠送积分', `point_flag` bit(1) DEFAULT NULL COMMENT '是否赠送积分',
`point` int DEFAULT NULL COMMENT '赠送多少积分', `point` int DEFAULT NULL COMMENT '赠送多少积分',
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '活动标题', `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '活动标题',
PRIMARY KEY (`id`) USING BTREE, PRIMARY KEY (`id`) USING BTREE,
@ -2963,7 +2963,7 @@ CREATE TABLE `li_goods` (
`goods_video` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '商品视频', `goods_video` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '商品视频',
`grade` double(10,2) DEFAULT NULL COMMENT '商品好评率', `grade` double(10,2) DEFAULT NULL COMMENT '商品好评率',
`intro` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '商品详情', `intro` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '商品详情',
`is_auth` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '审核状态', `auth_flag` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '审核状态',
`market_enable` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '上架状态', `market_enable` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '上架状态',
`mobile_intro` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '商品移动端详情', `mobile_intro` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '商品移动端详情',
`original` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '原图路径', `original` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '原图路径',
@ -3851,8 +3851,8 @@ CREATE TABLE `li_goods_sku` (
`goods_video` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '商品视频', `goods_video` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '商品视频',
`grade` double(20,2) DEFAULT NULL COMMENT '商品好评率', `grade` double(20,2) DEFAULT NULL COMMENT '商品好评率',
`intro` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '商品详情', `intro` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '商品详情',
`is_auth` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '审核状态', `auth_flag` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '审核状态',
`is_promotion` bit(1) DEFAULT NULL COMMENT '是否是促销商品', `promotion_flag` bit(1) DEFAULT NULL COMMENT '是否是促销商品',
`market_enable` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '上架状态', `market_enable` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '上架状态',
`mobile_intro` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '移动端商品详情', `mobile_intro` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '移动端商品详情',
`original` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '原图路径', `original` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '原图路径',
@ -5862,7 +5862,7 @@ CREATE TABLE `li_member_coupon` (
`discount` double DEFAULT NULL COMMENT '折扣', `discount` double DEFAULT NULL COMMENT '折扣',
`end_time` datetime(6) DEFAULT NULL COMMENT '使用截止时间', `end_time` datetime(6) DEFAULT NULL COMMENT '使用截止时间',
`get_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '优惠券类型', `get_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '优惠券类型',
`is_platform` bit(1) DEFAULT NULL COMMENT '是否是平台优惠券', `platform_flag` bit(1) DEFAULT NULL COMMENT '是否是平台优惠券',
`member_coupon_status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '会员优惠券状态', `member_coupon_status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '会员优惠券状态',
`member_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '会员ID', `member_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '会员ID',
`member_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '会员名称', `member_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '会员名称',