package com.izouma.nineth.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.time.LocalDateTime;

@Data
@Entity
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class TradingAccount extends BaseEntityNoID {

    @Id
    private Long userId;

    private LocalDateTime startTime;

    private LocalDateTime expireTime;

    private boolean safeFlag;
}
