package cn.ysk.cashier.dto.shop;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ShopInfoUpdateDTO {
    @NotNull
    private Integer shopId;
    @NotNull
    private String openId;
    private String note;
    @Range(min = 0, max = 1)
    private Integer state;
    private Integer type;
    private String nickName;
    private String avatar;
}
