package com.yeejoin.amos.boot.module.common.api.dto;

import java.io.Serializable;

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

/**
 *
 * @return
 * <PRE>
 * author tw
 * date 2021/6/21
 * </PRE>
 * 动态表单值
 */
@Data
@ApiModel(value="FormValue", description="动态表单值")
public class FormValue implements Serializable{

	private static final long serialVersionUID = 1L;
	@ApiModelProperty(value = "key")
    private String  key;
    @ApiModelProperty(value = "label")
    private String label;
    @ApiModelProperty(value = "type")
    private String type;
    @ApiModelProperty(value = "value")
    private String value;
    @ApiModelProperty(value = "是否一行显示")
    private boolean block;
    
    @ApiModelProperty(value = "value 所对应的字符名称")
    private String valueName;
    
    
  
    public FormValue() {
    }


	public FormValue(String key, String label, String type, String value,boolean block,String valueName) {
		super();
		this.key = key;
		this.label = label;
		this.type = type;
		this.value = value;
		this.block = block;
		this.valueName =valueName;
	}
	public FormValue(String key, String label, String type, String value,boolean block) {
		super();
		this.key = key;
		this.label = label;
		this.type = type;
		this.value = value;
		this.block = block;
	}
}
