| | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Getter; |
| | | import lombok.Setter; |
| | | |
| | |
| | | @Getter |
| | | @Setter |
| | | @TableName("staff_emergency_contact") |
| | | @ApiModel(value = "StaffEmergencyContact对象", description = "员工紧急联系人表") |
| | | @Schema(name = "StaffEmergencyContact对象", description = "员工紧急联系人表") |
| | | public class StaffEmergencyContact implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @ApiModelProperty("主键ID") |
| | | @Schema(description = "主键ID") |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | @ApiModelProperty("关联staff_on_job表主键ID") |
| | | @Schema(description = "关联staff_on_job表主键ID") |
| | | private Long staffOnJobId; |
| | | |
| | | @ApiModelProperty("紧急联系人姓名") |
| | | @Schema(description = "紧急联系人姓名") |
| | | private String contactName; |
| | | |
| | | @ApiModelProperty("紧急联系人关系") |
| | | @Schema(description = "紧急联系人关系") |
| | | private String contactRelation; |
| | | |
| | | @ApiModelProperty("紧急联系人手机") |
| | | @Schema(description = "紧急联系人手机") |
| | | private String contactPhone; |
| | | |
| | | @ApiModelProperty("紧急联系人住址") |
| | | @Schema(description = "紧急联系人住址") |
| | | private String contactAddress; |
| | | |
| | | @ApiModelProperty("创建时间") |
| | | @Schema(description = "创建时间") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private LocalDateTime createTime; |
| | | |
| | | @ApiModelProperty("创建用户") |
| | | @Schema(description = "创建用户") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long createUser; |
| | | |
| | | @ApiModelProperty("修改时间") |
| | | @Schema(description = "修改时间") |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private LocalDateTime updateTime; |
| | | |
| | | @ApiModelProperty("修改用户") |
| | | @Schema(description = "修改用户") |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private Long updateUser; |
| | | |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long deptId; |
| | | } |