package com.pine.admin.modules.business.entity;

    import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * 订单属性表
 *
 * @author Pine
 * @email 771190883@qq.com
 * @date 2019-10-14 10:44:20
 */
@Data
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@ApiModel(value = "订单属性表对象", description = "订单属性表对象")
public class OrderAttr implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", name = "id")
    private Long id;
    /**
     * 订单id  对应ls_order 表中的order_code
     */
    @ApiModelProperty(value = "订单id  对应ls_order 表中的order_code", name = "orderId")
    private Long orderId;
    /**
     * 收货人姓名
     */
    @ApiModelProperty(value = "收货人姓名", name = "receiptName")
    private String receiptName;
    /**
     * 收货人的地址 （省＋市＋区）
     */
    @ApiModelProperty(value = "收货人的地址 （省＋市＋区）", name = "receiptAddress")
    private String receiptAddress;
    /**
     * 收货人的详细地址
     */
    @ApiModelProperty(value = "收货人的详细地址", name = "receiptDetailAddress")
    private String receiptDetailAddress;
    /**
     * 收货人的手机号码
     */
    @ApiModelProperty(value = "收货人的手机号码", name = "receiptMobile")
    private String receiptMobile;
    /**
     * 收货人的固定电话
     */
    @ApiModelProperty(value = "收货人的固定电话", name = "receiptPhone")
    private String receiptPhone;
    /**
     * 收货人的邮编
     */
    @ApiModelProperty(value = "收货人的邮编", name = "receiptZipCode")
    private String receiptZipCode;
    /**
     * 发票类型  0 不需要发票 1增值税普票 2增值税专票 默认0
     */
    @ApiModelProperty(value = "发票类型  0 不需要发票 1增值税普票 2增值税专票 默认0", name = "invoiceType")
    private String invoiceType;
    /**
     * 发票抬头
     */
    @ApiModelProperty(value = "发票抬头", name = "invoiceTitle")
    private String invoiceTitle;
    /**
     * 发票内容
1:非图书商品
2:明细
3:耗材
4:办公用品
     */
    private String invoiceContent;
    /**
     * 税号
     */
    @ApiModelProperty(value = "税号", name = "invoiceTaxid")
    private String invoiceTaxid;
    /**
     * 订单备注
     */
    @ApiModelProperty(value = "订单备注", name = "remark")
    private String remark;
    /**
     * 订单的赠品信息格式为
[
    {
        "num": 1,
        "skuId": "15096899899251410",
        "skuName": "平台商品(规格5)",
        "skuNo": "201711031419380",
        "specs": "版本:规格5|",
        "url": "http://lecshop.b0.upaiyun.com/1509689972311.jpg"
    }
]
     */
    private String giftInfos;
    /**
     * 捐赠寄语
     */
    @ApiModelProperty(value = "捐赠寄语", name = "donationMessage")
    private String donationMessage;
    /**
     * 单位名称
     */
    @ApiModelProperty(value = "单位名称", name = "invoiceCompanyName")
    private String invoiceCompanyName;
    /**
     * 注册地址
     */
    @ApiModelProperty(value = "注册地址", name = "invoiceRegisterAddress")
    private String invoiceRegisterAddress;
    /**
     * 注册电话
     */
    @ApiModelProperty(value = "注册电话", name = "invoiceRegisterMobile")
    private String invoiceRegisterMobile;
    /**
     * 开户银行
     */
    @ApiModelProperty(value = "开户银行", name = "invoiceOpenBank")
    private String invoiceOpenBank;
    /**
     * 银行账户
     */
    @ApiModelProperty(value = "银行账户", name = "invoiceBankAccount")
    private String invoiceBankAccount;
    /**
     * 抬头类型  1 企业  2 个人
     */
    @ApiModelProperty(value = "抬头类型  1 企业  2 个人 ", name = "invoiceTitleType")
    private String invoiceTitleType;
    /**
     * 送达时间 社区团购使用
     */
    @ApiModelProperty(value = "送达时间 社区团购使用", name = "deliveryTime")
    private Date deliveryTime;
    /**
     * 所在地区 省+市+区 社区团购使用
     */
    @ApiModelProperty(value = "所在地区 省+市+区 社区团购使用", name = "address")
    private String address;
    /**
     * 详细信息 取货小区 社区团购使用
     */
    @ApiModelProperty(value = "详细信息 取货小区 社区团购使用", name = "detailAddress")
    private String detailAddress;
    /**
     * 提货点 社区团购使用
     */
    @ApiModelProperty(value = "提货点 社区团购使用", name = "pickUpAddress")
    private String pickUpAddress;
    /**
     * 提货方式 1 团长送货上门 2 自提
     */
    @ApiModelProperty(value = "提货方式 1 团长送货上门 2 自提", name = "deliveryType")
    private String deliveryType;
    /**
     * 门牌号 社区团购使用
     */
    @ApiModelProperty(value = "门牌号 社区团购使用", name = "houseNumber")
    private String houseNumber;

}
