package com.xinelu.applet.vo.nursingstationgoods;

import com.xinelu.common.custominterface.Update;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Description 修改默认地址参数实体类
 * @Author 纪寒
 * @Date 2023-01-11 16:29:16
 * @Version 1.0
 */
@Data
public class UpdateDefaultAddressVO implements Serializable {
    private static final long serialVersionUID = -5824121578070763076L;

    /**
     * 主键id
     */
    @NotNull(message = "收货地址id不能为空！", groups = {Update.class})
    private Long id;

    /**
     * 默认地址标识，0：否，1：是
     */
    @NotNull(message = "默认收货地址标识不能为空！", groups = {Update.class})
    private Integer defaultAddressFlag;
}
