com.baomidou.mybatisplus.annotations.TableName类的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(4.8k)|赞(0)|评价(0)|浏览(322)

本文整理了Java中com.baomidou.mybatisplus.annotations.TableName类的一些代码示例,展示了TableName类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TableName类的具体详情如下:
包路径:com.baomidou.mybatisplus.annotations.TableName
类名称:TableName

TableName介绍

暂无

代码示例

代码示例来源:origin: stylefeng/Guns

@TableName("sys_relation")
public class Relation implements Serializable {

代码示例来源:origin: stylefeng/Guns

@TableName("sys_file_info")
public class FileInfo implements Serializable {

代码示例来源:origin: stylefeng/Guns

@TableName("sys_login_log")
public class LoginLog implements Serializable {

代码示例来源:origin: stylefeng/Guns

@TableName("sys_notice")
public class Notice implements Serializable {

代码示例来源:origin: Exrick/x-boot

/**
 * @author Exrick
 */
@Data
@Entity
@Table(name = "t_role_department")
@TableName("t_role_department")
@ApiModel(value = "角色部门")
public class RoleDepartment extends XbootBaseEntity {

  private static final long serialVersionUID = 1L;

  @ApiModelProperty(value = "角色id")
  private String roleId;

  @ApiModelProperty(value = "部门id")
  private String departmentId;
}

代码示例来源:origin: Exrick/x-boot

/**
 * @author Exrick
 */
@Data
@Entity
@Table(name = "t_role_permission")
@TableName("t_role_permission")
@ApiModel(value = "角色权限")
public class RolePermission extends XbootBaseEntity {

  private static final long serialVersionUID = 1L;

  @ApiModelProperty(value = "角色id")
  private String roleId;

  @ApiModelProperty(value = "权限id")
  private String permissionId;
}

代码示例来源:origin: pig4cloud/pig

@TableName("sys_dept_relation")
public class SysDeptRelation extends Model<SysDeptRelation> {

代码示例来源:origin: stylefeng/Guns

@TableName("sys_operation_log")
public class OperationLog implements Serializable {

代码示例来源:origin: Exrick/x-boot

/**
 * @author Exrick
 */
@Data
@Entity
@Table(name = "t_department_header")
@TableName("t_department_header")
@ApiModel(value = "部门负责人")
public class DepartmentHeader extends XbootBaseEntity {

  private static final long serialVersionUID = 1L;

  @ApiModelProperty(value = "关联部门id")
  private String departmentId;

  @ApiModelProperty(value = "关联部门负责人")
  private String userId;

  @ApiModelProperty(value = "负责人类型 默认0主要 1副职")
  private Integer type = CommonConstant.HEADER_TYPE_MAIN;
}

代码示例来源:origin: stylefeng/Guns

@TableName("sys_dict")
public class Dict implements Serializable {

代码示例来源:origin: Exrick/x-boot

/**
 * @author Exrick
 */
@Data
@Entity
@Table(name = "t_dict")
@TableName("t_dict")
@ApiModel(value = "字典")
public class Dict extends XbootBaseEntity {

  private static final long serialVersionUID = 1L;

  @ApiModelProperty(value = "字典名称")
  private String title;

  @ApiModelProperty(value = "字典类型")
  private String type;

  @ApiModelProperty(value = "备注")
  private String description;

  @ApiModelProperty(value = "排序值")
  @Column(precision = 10, scale = 2)
  private BigDecimal sortOrder;
}

代码示例来源:origin: stylefeng/Guns

@TableName("sys_role")
public class Role implements Serializable {

代码示例来源:origin: Exrick/x-boot

/**
 * @author Exrickx
 */
@Data
@Entity
@Table(name = "t_quartz_job")
@TableName("t_quartz_job")
@ApiModel(value = "定时任务")
public class QuartzJob extends XbootBaseEntity {

  private static final long serialVersionUID = 1L;

  @ApiModelProperty(value = "任务类名")
  private String jobClassName;

  @ApiModelProperty(value = "cron表达式")
  private String cronExpression;

  @ApiModelProperty(value = "参数")
  private String parameter;

  @ApiModelProperty(value = "备注")
  private String description;

  @ApiModelProperty(value = "状态 0正常 -1停止")
  private Integer status = CommonConstant.STATUS_NORMAL;
}

代码示例来源:origin: Exrick/x-boot

@Entity
@Table(name = "t_dict_data")
@TableName("t_dict_data")
@ApiModel(value = "字典数据")
public class DictData extends XbootBaseEntity {

代码示例来源:origin: stylefeng/Guns

@TableName("sys_user")
@Data
public class User implements Serializable {

代码示例来源:origin: stylefeng/Guns

@TableName("code_dbinfo")
public class CodeDbinfo implements Serializable {

代码示例来源:origin: Exrick/x-boot

/**
 * @author Exrickx
 */
@Data
@Entity
@Table(name = "t_user_role")
@TableName("t_user_role")
@ApiModel(value = "用户角色")
public class UserRole extends XbootBaseEntity {

  private static final long serialVersionUID = 1L;

  @ApiModelProperty(value = "用户唯一id")
  private String userId;

  @ApiModelProperty(value = "角色唯一id")
  private String roleId;

  @Transient
  @TableField(exist=false)
  @ApiModelProperty(value = "角色名")
  private String roleName;
}

代码示例来源:origin: stylefeng/Guns

@TableName("sys_dept")
public class Dept implements Serializable {

代码示例来源:origin: Exrick/x-boot

@Entity
@Table(name = "t_log")
@TableName("t_log")
@ApiModel(value = "日志")
public class Log extends XbootBaseEntity {

代码示例来源:origin: Exrick/x-boot

@Entity
@Table(name = "t_role")
@TableName("t_role")
@ApiModel(value = "角色")
public class Role extends XbootBaseEntity {

相关文章