package com.bs.df.domain;

import com.bs.cm.domain.CmAttach;
import com.bs.common.annotation.Excel;
import com.bs.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 产品朋友圈对象 df_product_moment
 *
 * @author bs
 * @date 2024-04-06
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("df_product_moment")
@Data
public class DfProductMoment extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 朋友圈id */
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "朋友圈id")
    private String id;

    /** 朋友圈分类0产品朋友圈1经纪朋友圈 */

    @Excel(name = "朋友圈分类",dictType = "product_classify")
    @ApiModelProperty(value = "朋友圈分类0产品朋友圈1经纪朋友圈")
    private String momentType;

    /** 朋友圈类型 */

    @Excel(name = "朋友圈类型",dictType = "moment_kind")
    @ApiModelProperty(value = "朋友圈类型")
    private String momentKind;

    /** 朋友圈标题 */

    @Excel(name = "朋友圈标题")
    @ApiModelProperty(value = "朋友圈标题")
    private String momentTitle;

    /** 朋友圈正文 */

    @Excel(name = "朋友圈正文")
    @ApiModelProperty(value = "朋友圈正文")
    private String momentContent;

    /** 状态0草稿1上架 */

    @Excel(name = "状态",dictType = "product_status")
    @ApiModelProperty(value = "状态0草稿1上架")
    private String status;

    /** 备注 */

    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;

    @TableField(exist = false)
    private String[] ids;

    @TableField(exist = false)
    private List<CmAttach> files;

    @TableField(exist = false)
    private String orderByColumn;

}
