package com.ruoyi.basic.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
|
@TableName(value = "customer_user")
|
@Data
|
public class CustomerUser implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 序号
|
*/
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 客户id
|
*/
|
private Long customerId;
|
|
/**
|
* 用户id
|
*/
|
private Long userId;
|
|
/**
|
* 租户id
|
*/
|
@TableField(fill = FieldFill.INSERT)
|
private Long tenantId;
|
|
/**
|
* 录入时间
|
*/
|
@ApiModelProperty(value = "创建时间")
|
@TableField(fill = FieldFill.INSERT)
|
private LocalDateTime createTime;
|
}
|