package com.izouma.uwip.domain;

import com.izouma.uwip.enums.PatentType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.EnumType;
import javax.persistence.Enumerated;

@AllArgsConstructor
@Data
@Builder
@NoArgsConstructor
@ApiModel(value = "专利申请")
public class Patent extends BaseEntity{
    private String name;

    @ApiModelProperty(value = "专利类型")
    @Enumerated(EnumType.STRING)
    private PatentType type;

    @ApiModelProperty(value = "客户id")
    private Long partnerId;


}
