package com.bcxin.backend.domain.models;

import com.bcxin.saas.core.IAggregate;
import com.bcxin.saas.core.models.EntityBase;
import lombok.Data;

import javax.persistence.*;

/**
 * @Auther linqinglin
 * @date 2022/4/10 17:13
 */

@Data
@Table(name = "tenant_employees")
@Entity
public class EmployeeDto extends EntityBase<String> implements IAggregate {

    /**
     *
     */
    private static final long serialVersionUID = -4836070850643712525L;


    @Id
    @Column(length = 50)
    private String id;

    @Column(length = 100,name = "organization_id")
    private String organizationId;

}
