package com.yh.saas.plugin.news.command;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;


@Data
public class ParameterCompanyCommand {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value="主键id",name="id")
    private String id;

    @ApiModelProperty(value="constCode（ APPROVE_UNIT：批准单位 LANGUAGE：语种 DEFECT_CATEGORY：缺陷类别）",name="constCode")
    @NotNull(message = "constCode 不能为空")
    private String constCode;

    @ApiModelProperty(value="变量值",name="parameterValue")
    @NotNull(message = "parameterValue 不能为空")
    @Length(min=1, max = 50, message = "parameterValueEn 长度在5到50个字符之间")
    private String parameterValue;

  /*  @ApiModelProperty(value="变量值英文值",name="parameterValueEn")
    @NotNull(message = "parameterValueEn 不能为空")
    @Length(min=1, max = 50, message = "parameterValueEn 长度在5到50个字符之间")
    private String parameterValueEn;*/

    @ApiModelProperty(value="描述",name="description")
    private String description;





}
