| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- package com.ydtech.modules.esm.model;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableField;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.ydtech.modules.esm.model.vo.EsmUserImageVo;
- import lombok.Data;
- import java.io.Serializable;
- /**
- * 人员影像信息
- * @TableName esm_user_image
- */
- @TableName(value ="esm_user_image")
- @Data
- public class EsmUserImage implements Serializable {
- /**
- * 主键
- */
- @TableId(value = "id", type = IdType.AUTO)
- private Long id;
- /**
- * 影像id
- */
- @TableField(value = "images_id")
- private String imagesId;
- /**
- * 人员影像信息
- */
- @TableField(value = "user_id")
- private String userId;
- /**
- * 人员影像类型
- */
- @TableField(value = "type")
- private String type;
- @TableField(exist = false)
- private static final long serialVersionUID = 1L;
- public EsmUserImage(EsmUserImageVo esmUserImageVo, String userId) {
- this.imagesId = esmUserImageVo.getImageId();
- this.userId = userId;
- this.type = esmUserImageVo.getType();
- }
- public EsmUserImage() {
- }
- public EsmUserImage(Long id, String imagesId, String userId, String type) {
- this.id = id;
- this.imagesId = imagesId;
- this.userId = userId;
- this.type = type;
- }
- }
|