| | |
| | | |
| | | 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_item") |
| | | @Where(clause = "state = 1") |
| | | public class ActivityPlayerRatingItem extends BaseEntity { |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Column(name = "feedback", columnDefinition = "TEXT") |
| | | private String remark; |
| | | |
| | | /** |
| | | * 状态:1-正常,0-删除 |
| | | */ |
| | | @Column(name = "state", nullable = false) |
| | | private Integer state = 1; |
| | | |
| | | // 构造函数 |
| | | public ActivityPlayerRatingItem() {} |
| | |
| | | this.remark = remark; |
| | | } |
| | | |
| | | public Integer getState() { |
| | | return state; |
| | | } |
| | | |
| | | public void setState(Integer state) { |
| | | this.state = state; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ActivityPlayerRatingItem{" + |