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

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 io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class MemberAddressDTO {
    private Long id;
    private Long memberId;
    private String name;
    private String phone;
    private String emergencyPhone;
    private String openId;
    private Integer defaultStatus;
    private String postCode;
    private String province;
    private String city;
    private String district;
    private String detailAddress;

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

    private Integer isDefault;


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


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

    @ApiModelProperty("不接单日期 字符串数组")
    private JSONArray noOrderDate;

    @ApiModelProperty("staffId")
    @NotNull
    private Long staffId;

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

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