添加机构ID字段

This commit is contained in:
Flow 2025-06-17 16:08:13 +08:00
parent b92af8a266
commit e5c89ab8c0
4 changed files with 17 additions and 3 deletions

View File

@ -67,4 +67,7 @@ public class DoctornoticePageReqVO extends PageParam {
@Schema(description = "用户姓名")
private String username;
@Schema(description = "机构ID")
private Integer orgid;
}

View File

@ -80,4 +80,8 @@ public class DoctornoticeRespVO {
@ExcelProperty("用户姓名")
private String username;
@Schema(description = "机构ID")
@ExcelProperty("机构ID")
private Integer orgid;
}

View File

@ -71,4 +71,7 @@ public class DoctornoticeSaveReqVO {
@Schema(description = "用户姓名")
private String username;
@Schema(description = "机构ID")
private Integer orgid;
}

View File

@ -17,13 +17,11 @@ import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
@TableName("tb_doctornotice")
@KeySequence("tb_doctornotice_seq") // 用于 OraclePostgreSQLKingbaseDB2H2 数据库的主键自增如果是 MySQL 等数据库可不写
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DoctornoticeDO extends BaseDO {
public class DoctornoticeDO {
/**
* 主键ID
*/
@ -109,4 +107,10 @@ public class DoctornoticeDO extends BaseDO {
*/
@TableField("username")
private String username;
/**
* 机构ID
*/
@TableField("orgid")
private Integer orgid;
}