package com.izouma.dingdong.domain.backstage;

import com.izouma.dingdong.domain.BaseEntity;
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.validation.constraints.Size;

@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@ApiModel(value = "已知标签内容")
public class ChatWords extends BaseEntity {
    @ApiModelProperty("内容")
    @Column(length = 10)
    @Size(min = 1, max = 10)
    private String context;

    //商家话术/骑手话术
    @ApiModelProperty("类型")
    private Integer type;
}
