package com.sqx.modules.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sqx.modules.artificer.entity.Artificer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @description user_money_artificer
 * @author fang
 * @date 2023-02-16
 */
@Data
@ApiModel("用户充值师傅钱包")
@TableName("user_money_artificer")
public class UserMoneyArtificer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    /**
     * 用户充值师傅钱包
     */
    private Long userMoneyArtificerId;

    /**
     * 用户id
     */
    private Long userId;

    @TableField(exist = false)
    private UserEntity userEntity;

    /**
     * 师傅id
     */
    private Long artificerId;

    @TableField(exist = false)
    private Artificer artificer;

    /**
     * 金额
     */
    private BigDecimal money;

    /**
     * 时间
     */
    private String createTime;

    public UserMoneyArtificer() {}
}
