package jnpf.entity.training;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 组队-基础设置
 * </p>
 *
 * @author ahua
 * @since 2023-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ftb_training_group_base_setting")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TrainingGroupBaseSettingEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("F_Id")
    private String id;

    @TableField("F_Content")
    private String content;
    /**
     * 创建用户
     */
    @TableField("F_CreatorUserId")
    private String creatorUserId;

    /**
     * 创建时间
     */
    @TableField("F_CreatorTime")
    private Date creatorTime;

    /**
     * 修改用户
     */
    @TableField("F_LastModifyUserId")
    private String lastModifyUserId;

    /**
     * 修改时间
     */
    @TableField("F_LastModifyTime")
    private Date lastModifyTime;

    /**
     * 租户id
     */
    @TableField("F_TenantId")
    private String tenantId;
    /**
     * 打卡每天n分
     */
    @TableField(exist = false)
    private Integer clock;

    /**
     * 阅读时长
     */
    @TableField(exist = false)
    private Long readingDuration;

    /**
     * 阅读积分
     */
    @TableField(exist = false)
    private Integer readingScore;

    /**
     * 评论积分
     */
    @TableField(exist = false)
    private Integer commentScore;

    /**
     * 达到n时长发送动态
     */
    @TableField(exist = false)
    private Long dynamicDuration;

}
