package org.springblade.modules.QRCode.utils;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: lianghanqiang
 * @description: 二维码样式属性实体
 * @since: 7/27/21 -- 1:53 PM
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CodeStyle {

	/**
	 * 背景颜色，如：0xFFFFFFFF
	 */
	private int backgroundColor = 0xFFFFFFFF;

	/**
	 * 码颜色，如：0xFF000000
	 */
	private int codeColor = 0xFF000000;

	/**
	 * 二维码宽，px
	 */
	private int width;

	/**
	 * 二维码高，px
	 */
	private int height;

	/**
	 * 边框大小
	 */
	private int margin = 5;

}
