| | |
| | | |
| | | import com.rongyichuang.common.entity.BaseEntity; |
| | | import jakarta.persistence.*; |
| | | import org.hibernate.annotations.Where; |
| | | |
| | | import java.math.BigDecimal; |
| | | |
| | |
| | | */ |
| | | @Entity |
| | | @Table(name = "t_activity_player_rating") |
| | | @Where(clause = "state = 1") |
| | | public class ActivityPlayerRating extends BaseEntity { |
| | | |
| | | /** |
| | |
| | | private String feedback; |
| | | |
| | | /** |
| | | * 状态:0-未评分,1-已评分 |
| | | * 评分状态:0-未评分,1-已评分 |
| | | */ |
| | | @Column(name = "rating_state", nullable = false) |
| | | private Integer ratingState = 0; |
| | | |
| | | /** |
| | | * 状态:1-正常,0-删除 |
| | | */ |
| | | @Column(name = "state", nullable = false) |
| | | private Integer state = 0; |
| | | |
| | | |
| | | private Integer state = 1; |
| | | |
| | | // 构造函数 |
| | | public ActivityPlayerRating() {} |