| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- package com.punchsettle.server.atomic.entity;
- import java.io.Serial;
- import java.io.Serializable;
- import com.punchsettle.server.common.pojo.BaseEntity;
- import jakarta.persistence.Column;
- import jakarta.persistence.Table;
- import lombok.Data;
- import lombok.EqualsAndHashCode;
- /**
- * @author tyuio
- * @version 1.0.0
- * @description 账户
- * @date 2025/04/08 09:49
- */
- @Data
- @EqualsAndHashCode(callSuper = true)
- @Table(name = "account")
- public class Account extends BaseEntity implements Serializable {
- @Serial
- private static final long serialVersionUID = 2106615506104959073L;
- /**
- * 用户id
- */
- @Column(name = "user_id")
- private Long userId;
- /**
- * 账户名称
- */
- @Column(name = "account_name")
- private String accountName;
- /**
- * 账户类型(BASIC-基本户,GENERAL-一般户)
- */
- @Column(name = "account_type")
- private String accountType;
- /**
- * 奖励积分
- */
- @Column(name = "points")
- private Integer points;
- }
|