package com.bcxin.tenant.open.domains.entities;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bcxin.tenant.open.infrastructures.entities.Aggregate;
import com.bcxin.tenant.open.infrastructures.entities.EntityAbstract;
import lombok.Data;

import java.sql.Timestamp;

/**
 * 用户钱包信息
 */
@TableName(value = "user_purses",autoResultMap = true)
@Data
public class UserPurseEntity extends EntityAbstract implements Aggregate {
    @TableField(value = "id")
    private String id;

    @TableField(value = "points")
    private Long points;

    @TableField("created_time")
    private Timestamp createdTime;
}
