package com.izouma.jiashanxia.domain;

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.Entity;
import javax.persistence.Transient;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;


@Entity
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@ApiModel(value = "企业表")
public class Company extends BaseEntity implements Serializable {

    private Long userId;

    @ApiModelProperty(value = "企业名称")
    private String name;

    private BigDecimal amount;

    @Transient
    private List<Long> employee;
}
