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 java.math.BigDecimal;


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

    private Long userId;

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

    private BigDecimal amount;

}
