package com.cyl.manager.ums.pojo.vo;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseAudit;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 会员收货地址 数据视图对象
 * 
 * @author zcc
 */
@Data
public class MemberAddressVO extends BaseAudit {
   /** ID */
    private Long id;
   /** MEMBER_ID */
    @Excel(name = "MEMBER_ID")
    private Long memberId;
   /** 收货人名称 */
    @Excel(name = "收货人名称")
    private String name;
   /** PHONE */
    @Excel(name = "PHONE")
    private String phone;
    @Excel(name = "隐藏前三位后四位的手机号")
    private String phoneHidden;

    @Excel(name = "紧急联络电话")
    private String emergencyPhone;

    @ApiModelProperty("微信OPENID")
    @Excel(name = "微信OPENID")
    private String openId;

   /** 是否为默认 */
    @Excel(name = "是否为默认")
    private Integer defaultStatus;
   /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String postCode;
   /** 省份/直辖市 */
    @Excel(name = "省份/直辖市")
    private String province;
   /** 城市 */
    @Excel(name = "城市")
    private String city;
   /** 区 */
    @Excel(name = "区")
    private String district;
   /** 详细地址(街道) */
    @Excel(name = "详细地址(街道)")
    private String detailAddress;
   /** 是否默认 */
    @Excel(name = "是否默认")
    private Integer isDefault;


    @ApiModelProperty("接单状态  0不接单 1接单")
    private Integer receiveOrderStatus;


    @ApiModelProperty("接单范围")
    private Integer receiveOrderRange;

    @ApiModelProperty("不接单日期 字符串数组")
    @TableField(typeHandler = FastjsonTypeHandler.class)
    private JSONArray noOrderDate;

    @ApiModelProperty("接单时间，多选逗号分隔，周末：1早上，2午后，3晚间")
    private String orderDateWeekend;

    @ApiModelProperty("接单时间，多选逗号分隔，周内：1早上，2午后，3晚间")
    private String orderDateWeekday;

    @ApiModelProperty("STAFF_ID")
    @Excel(name = "STAFF_ID")
    private Long staffId;

    //纬度
    private String latitude;
    //经度
    private String longitude;
}
