package com.ylx.point.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ylx.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ylx.common.annotation.Excel;

/**
 * 积分签到任务规则对象 point_sign_task
 *
 * @author wzj
 * @date 2026-03-25
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class PointSignTask extends BaseEntity {
    private static final long serialVersionUID = 2848356392694836469L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 关联积分活动ID(point_activity.id)
     */
    @Excel(name = "关联积分活动ID(point_activity.id)")
    private Long activityId;

    /**
     * 每日签到基础积分
     */
    @Excel(name = "每日签到基础积分")
    private Integer basePoints;

    /**
     * 断签规则:0=重置,1=保留进度
     */
    @Excel(name = "断签规则:0=重置,1=保留进度")
    private Integer breakRule;

    /**
     * 逻辑删除
     */
    @Excel(name = "逻辑删除")
    private Integer isDeleted;

    /**
     * 创建人
     */
    @TableField(exist = false)
    private String createBy;

    /**
     * 更新人
     */
    @TableField(exist = false)
    private String updateBy;

    /**
     * 活动名称
     */
    @TableField(exist = false)
    private String activityName;

}
