package cn.iocoder.yudao.module.crm.dal.dataobject.customer;
|
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
import com.baomidou.mybatisplus.annotation.KeySequence;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.*;
|
|
/**
|
* CRM 客户收货地址 DO
|
*
|
* 一个客户可以维护多个收货地址,发货时按地址选择。
|
*
|
* @author 超级管理员
|
*/
|
@TableName("crm_customer_address")
|
@KeySequence("crm_customer_address_seq")
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
@Builder
|
@NoArgsConstructor
|
@AllArgsConstructor
|
public class CrmCustomerAddressDO extends BaseDO {
|
|
/**
|
* 编号
|
*/
|
@TableId
|
private Long id;
|
/**
|
* 客户编号
|
*
|
* 关联 {@link CrmCustomerDO#getId()}
|
*/
|
private Long customerId;
|
/**
|
* 收货人姓名
|
*/
|
private String receiverName;
|
/**
|
* 收货人手机号
|
*/
|
private String receiverMobile;
|
/**
|
* 所在地
|
*
|
* 关联 {@link cn.iocoder.yudao.framework.ip.core.Area#getId()} 字段
|
*/
|
private Integer areaId;
|
/**
|
* 详细地址
|
*/
|
private String detailAddress;
|
/**
|
* 是否默认收货地址
|
*/
|
private Boolean defaultFlag;
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
}
|