feat(商城): 代码优化

master
wayn 4 years ago
parent bc88cfe029
commit ffd54edd0c

@ -24,7 +24,7 @@ import java.io.Serializable;
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)
public class Comment extends ShopBaseEntity implements Serializable { public class Comment extends ShopBaseEntity implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 2415577057902110771L;
@TableId(type = IdType.AUTO) @TableId(type = IdType.AUTO)
private Long id; private Long id;

@ -25,7 +25,7 @@ import java.time.LocalDateTime;
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)
public class Order extends ShopBaseEntity implements Serializable { public class Order extends ShopBaseEntity implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 3129813461714576208L;
@TableId(type = IdType.AUTO) @TableId(type = IdType.AUTO)
private Long id; private Long id;

@ -26,7 +26,7 @@ import java.time.LocalDateTime;
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)
public class OrderGoods implements Serializable { public class OrderGoods implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = -8548938788899621492L;
@TableId(type = IdType.AUTO) @TableId(type = IdType.AUTO)
private Long id; private Long id;

@ -18,7 +18,8 @@ import java.io.Serializable;
@TableName("sys_dict") @TableName("sys_dict")
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
public class Dict extends BaseEntity implements Serializable { public class Dict extends BaseEntity implements Serializable {
private static final long serialVersionUID = -7521690041693138642L;
private static final long serialVersionUID = 2263418671720743896L;
/** /**
* ID * ID

Loading…
Cancel
Save