|
|
@@ -1,5 +1,7 @@
|
|
|
package com.cyksj.model.entity;
|
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.FieldStrategy;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import lombok.Getter;
|
|
|
import lombok.Setter;
|
|
|
|
|
|
@@ -28,10 +30,23 @@ public class HomeManagementConfig extends BaseEntity{
|
|
|
|
|
|
private Boolean status;
|
|
|
|
|
|
- private Boolean deleted;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 定时上下架状态 默认null
|
|
|
+ */
|
|
|
+ @TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
+ private Boolean preStatus;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 定时上下架时间
|
|
|
+ */
|
|
|
+ @TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
+ private Long time;
|
|
|
|
|
|
private AdType adType;
|
|
|
|
|
|
+ private Boolean deleted;
|
|
|
+
|
|
|
@Getter
|
|
|
public enum Type {
|
|
|
ad("广告"),
|