first commit
This commit is contained in:
@@ -0,0 +1,74 @@
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @author yl
|
||||
* @email yl328572838@163.com
|
||||
* @date 2022-10-31 11:20:32
|
||||
*/
|
||||
@Data
|
||||
@TableName("user_address")
|
||||
public class UserAddressEntity implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 自增ID
|
||||
*/
|
||||
@TableId
|
||||
private Integer addressid;
|
||||
/**
|
||||
* 会员ID
|
||||
*/
|
||||
private Integer userid;
|
||||
/**
|
||||
* 收货人名称
|
||||
*/
|
||||
private String username;
|
||||
/**
|
||||
* 收货人手机号码
|
||||
*/
|
||||
private String userphone;
|
||||
/**
|
||||
* 区域ID路径
|
||||
*/
|
||||
private String areaidpath;
|
||||
/**
|
||||
* 区域ID文字
|
||||
*/
|
||||
private String areaidpathtext;
|
||||
/**
|
||||
* 最后一级区域ID
|
||||
*/
|
||||
private Integer areaid;
|
||||
/**
|
||||
* 详细地址
|
||||
*/
|
||||
private String useraddress;
|
||||
/**
|
||||
* 默认
|
||||
*/
|
||||
private Integer isdefault;
|
||||
/**
|
||||
* 有效状态
|
||||
*/
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)//创建注解
|
||||
private Date createTime;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)//更新注解
|
||||
private Date updateTime;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user