io.mosip.kernel.masterdata.dto.getresponse.extn.GenderExtnDto Maven / Gradle / Ivy
package io.mosip.kernel.masterdata.dto.getresponse.extn;
import io.mosip.kernel.masterdata.validator.FilterType;
import io.mosip.kernel.masterdata.validator.FilterTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
/**
* GenderType Dto for request
*
* @author Urvil Joshi
*
* @since 1.0.0
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
//@ApiModel(value = "Gender types", description = "Model representing a Request")
public class GenderExtnDto extends BaseDto {
@FilterType(types = { FilterTypeEnum.EQUALS })
@ApiModelProperty(notes = "Code of gender ", example = "GC001", required = true)
private String code;
@ApiModelProperty(notes = "Name of the Gender", example = "Male", required = true)
@FilterType(types = { FilterTypeEnum.EQUALS })
private String genderName;
@FilterType(types = { FilterTypeEnum.EQUALS })
@ApiModelProperty(notes = "Language Code", example = "ENG", required = true)
private String langCode;
}