LCTMemberLocationCreateRequest.java 1.89 KB
package com.xiniunet.lecunstomization.request;

import com.xiniunet.framework.base.BaseRequest;

import javax.validation.constraints.NotNull;

/**
 * Created by Auy_J on 2018/3/8.
 */
public class LCTMemberLocationCreateRequest extends BaseRequest{

    /**
     * 会员ID
     */
    @NotNull(message = "会员ID不能为空")
    private Long memberId;

    /**
     * 县ID
     */
    private Long districtId;

    /**
     * 县
     */
    @NotNull(message = "县不能为空")
    private String districtName;

    /**
     * 收货人姓名
     */
    @NotNull(message = "收货人姓名不能为空")
    private String receiptName;

    /**
     * 收货人电话
     */
    @NotNull(message = "收货人电话不能为空")
    private String receiptPhone;

    /**
     * 收货人地址
     */
    @NotNull(message = "收货人地址不能为空")
    private String receiptAddress;

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getDistrictId() {
        return districtId;
    }

    public void setDistrictId(Long districtId) {
        this.districtId = districtId;
    }

    public String getReceiptName() {
        return receiptName;
    }

    public void setReceiptName(String receiptName) {
        this.receiptName = receiptName;
    }

    public String getReceiptPhone() {
        return receiptPhone;
    }

    public void setReceiptPhone(String receiptPhone) {
        this.receiptPhone = receiptPhone;
    }

    public String getReceiptAddress() {
        return receiptAddress;
    }

    public void setReceiptAddress(String receiptAddress) {
        this.receiptAddress = receiptAddress;
    }
}