xiaoyong931011
2023-07-28 1af6c4c935d3ee880c61a5ab067a9b4196d2a796
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package cc.mrbird.febs.mall.entity;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
 
import java.util.Date;
 
@Data
@TableName("mall_member_house")
public class MallMemberHouse {
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
 
    private Long memberId;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    //入住时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    //过期时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date unuseTime;
    //1:待使用 2:已使用3:已过期
    private Integer state;
    //订单ID
    private Long orderId;
    private String orderNo;
    private String houseName;
    private String houseAddress;
    private String housePic;
 
 
    @TableField(exist = false)
    private String name;
    @TableField(exist = false)
    private String phone;
 
}