初始化v1
This commit is contained in:
21
src/main/java/com/nlshop/entity/Message.java
Normal file
21
src/main/java/com/nlshop/entity/Message.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package com.nlshop.entity;
|
||||
|
||||
import lombok.Data;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
public class Message {
|
||||
private Long id;
|
||||
private Long userId;
|
||||
private Long merchantId;
|
||||
private Long orderId;
|
||||
private String content;
|
||||
private String reply;
|
||||
private Integer status; // 0-未回复,1-已回复
|
||||
private LocalDateTime createTime;
|
||||
private LocalDateTime replyTime;
|
||||
|
||||
// 关联查询字段
|
||||
private User user;
|
||||
private Order order;
|
||||
}
|
||||
Reference in New Issue
Block a user