package cn.ey.biz.module.system.dal.dataobject.user;

import cn.ey.biz.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.Date;

@TableName("system_user_switch_record")
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserSwitchRecordDO extends BaseDO {

    @TableId
    private Long id;

    /**
     * 应用编码
     */
    private String appCode;

    /**
     *  登录用户
     */
    private Long currentUserId;

    /**
     *  用户从
     */
    private Long fromUserId;

    /**
     *  用户到
     */
    private Long toUserId;

    /**
     * 开始时间
     */
    private Date startTime;

    /**
     * 结束时间
     */
    private Date endTime;

}
