package com.pcloud.book.custom.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.Date;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CustomPlanModule {
    private Integer id;

    private Integer planId;

    private Integer parentId;

    private Integer moduleType;

    private String picUrl;

    private String typeName;

    private String title;

    private String content;

    private Integer skillId;

    private String skillCover;

    private Long appId;

    private String agentName;

    private Long productId;

    private String merchantName;

    private String productUniqueNumber;

    private String linkUrl;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    private Integer openFeedback;

    private String bookName;

    private Integer readType;

    // 家长是否参与
    private Integer parentAttend;
}