package com.ylx.giftCard.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("购物卡管理编辑DTO")
public class GiftCardManageUpdateDTO extends GiftCardManageSaveDTO {
    private static final long serialVersionUID = -5113137396795744112L;

    @NotNull(message = "购物卡ID不能为空")
    @ApiModelProperty(value = "购物卡ID", required = true)
    private Long id;
}
