| | |
| | | package com.kidgrow.common.model; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.FieldStrategy; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | |
| | | @NotNull(message = "组织ID不能为空") |
| | | private Long orgId; |
| | | /** |
| | | * 医院/科室表里面的id |
| | | */ |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | @NotNull(message = "医院/科室表里面的id") |
| | | @TableField(updateStrategy = FieldStrategy.IGNORED) |
| | | private Long fromId; |
| | | /** |
| | | * 组织级别 0集团 1医院公司 2科室部门 |
| | | */ |
| | | private Integer fromLevel; |
| | | /** |
| | | * 数据权限code |
| | | */ |
| | | private String createUserOrgCode; |