package org.dromara.zjk.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.zjk.annotation.PropertyMsg;
import java.io.Serial;

/**
 * 【请填写功能名称】对象 zjk_learning_credit_record
 *
 * @author ygh
 * @date 2024-11-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("zjk_learning_credit_record")
public class ZjkLearningCreditRecord extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @PropertyMsg(propertyName = "id")
    private Long id;

    /**
     * 乐观锁
     */
    @PropertyMsg(propertyName = "revision")
    private Long revision;

    /**
     * 用户id
     */
    @PropertyMsg(propertyName = "user_id")
    private Long userId;

    /**
     * 资料id
     */
    @PropertyMsg(propertyName = "learning_id")
    private Long learningId;

    /**
     * 观看时间
     */
    @PropertyMsg(propertyName = "viewing_time")
    private Date viewingTime;

    /**
     * 删除字段
     */
    @PropertyMsg(propertyName = "del_falg")
    private Long delFalg;


}
