package org.springblade.modules.QRCode.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author: lianghanqiang
 * @description:
 * @since: 7/29/21 -- 10:55 AM
 */
@Data
@Builder
public class SingleCodeDto {

	@NotBlank
	@ApiModelProperty(value = "商家或个人名称",required = true)
	String name;

	@NotBlank
	@ApiModelProperty(value = "商家或个人唯一标识",required = true)
	String id;

	@NotBlank
	@ApiModelProperty(value = "商家logo或个人头像",required = true)
	String logo;

	@NotBlank
	@ApiModelProperty(value = "类型：收款码：Charge_Code,付款码Payment_Code",required = true)
	String type;
}
