package com.tofly.third.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("YY_ZJZH")
@ApiModel("资金账户")
public class YyZjzh extends Model<YyZjzh> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户编号")
    @TableId(value = "YHBH")
    private String yhbh;

    @ApiModelProperty("预付金额")
    private BigDecimal yfje = BigDecimal.ZERO;

    @ApiModelProperty("扣减金额")
    private BigDecimal kjje = BigDecimal.ZERO;

    @ApiModelProperty("剩余金额")
    private BigDecimal syje = BigDecimal.ZERO;

    @ApiModelProperty("智能表剩余金额")
    private BigDecimal nbsyje = BigDecimal.ZERO;
}
