package com.ruoyi.cai.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 守护用户累计对象 cai_guard_total
 *
 * @author 77
 * @date 2023-12-23
 */
@Data
@TableName("cai_guard_total")
public class GuardTotal implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 自增id
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 被守护人的user_id(大咖)
     */
    private Long fromUserId;
    private String fromUsercode;
    private String fromMobile;
    /**
     * 守护人的user_id
     */
    private Long toUserId;
    private String toUsercode;
    private String toMobile;
    /**
     * 累计守护符个数
     */
    private Long guardNum;
    /**
     * 守护值
     */
    private Long guardValue;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

}
