package com.ruoyi.wgz.bo.rests;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.domain.Annex;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
@NoArgsConstructor
@Accessors(chain = true)
public class WgzAutonymAnnex extends BaseEntity {
	@ApiModelProperty("用户类型")
	@NotBlank(message = "字典标签不能为空")
	private String userType;

	@ApiModelProperty("字典标签")
	@NotBlank(message = "字典标签不能为空")
	private String dictLabel;

	@ApiModelProperty("字典键值")
	@NotBlank(message = "字典标签不能为空")
	private String dictValue;

	@ApiModelProperty("附件实体数据")
	private List<Annex> annex;
}
