package shop.alien.entity.store.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Author: fcw
 * @CreateTime: 2025-03-10
 * @Description: 达人作品表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="LifeUserExpertWorksVo对象", description="用户达人作品vo")
public class LifeUserExpertWorksVo {

    @ApiModelProperty(value = "达人id（life_user_expert 表 id）")
    private Integer expertId;

    @ApiModelProperty(value = "订单id（life_user_expert_order 表 id）")
    private Integer orderId;

    @ApiModelProperty(value = "作品地址")
    private String worksUrl;

    @ApiModelProperty(value = "简介")
    private String introduction;

    @ApiModelProperty(value = "播放量")
    private Integer playCount;

    @ApiModelProperty(value = "点赞量")
    private Integer likeCount;

    @ApiModelProperty(value = "评论量")
    private Integer commentCount;

    @ApiModelProperty(value = "分享量")
    private Integer shareCount;

    @ApiModelProperty(value = "订单金额")
    private Integer orderMoney;

    @ApiModelProperty(value = "到账金额")
    private Integer actualGmv;

    @ApiModelProperty(value = "删除标记, 0:未删除, 1:已删除")
    @TableField("delete_flag")
    @TableLogic
    private Integer deleteFlag;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "created_time", fill = FieldFill.INSERT)
    private Date createdTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "updated_time", fill = FieldFill.INSERT_UPDATE)
    private Date updatedTime;
}
