package com.izouma.jiashanxia.domain;

import com.izouma.jiashanxia.enums.FlowType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;

@Entity
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class UserSetFlow extends BaseEntity {
    private Long userId;

    @Enumerated(EnumType.STRING)
    private FlowType type;

    @Column(columnDefinition = "TEXT")
    private String content;
}
