package com.izouma.dingdong.domain.backstage;

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.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.validation.constraints.Size;

@Data
@Entity
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "商户标签", description = "商户标签")
public class Tag {

    //口碑联盟 1
    //明星商家 2
    //新商家 3
    @Id
    private Long id;

    @Size(max = 30)
    @Column(length = 30)
    @ApiModelProperty(value = "标签名称", name = "name")
    private String name;
    //口碑联盟 新商家 明星商家

   // private String description;

    private Boolean enabled = true;
}