package com.zy.crm.manager.entity; import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.enums.IdType; import com.baomidou.mybatisplus.annotations.TableField; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import com.baomidou.mybatisplus.annotations.TableName; import java.io.Serializable; @Data @TableName("man_plan_url") public class PlanUrl implements Serializable { private static final long serialVersionUID = 1L; /** * ID */ @ApiModelProperty(value= "ID") @TableId(value = "id", type = IdType.AUTO) private Long id; @ApiModelProperty(value= "planId") @TableField("plan_id") private Long planId; @ApiModelProperty(value= "url") private String url; @ApiModelProperty(value= "文件名") private String name; @ApiModelProperty(value= "大小") @TableField("file_size") private Long fileSize; /** * 上传者 */ @ApiModelProperty(value= "上传者") @TableField("user_name") private String userName; /** * 上传者ID */ @ApiModelProperty(value= "上传者ID") @TableField("user_id") private Long userId; @ApiModelProperty(value= "分类 1:规划 2:核价 3:报价 4:其它") private Integer type; @ApiModelProperty(value= "隐藏 1:货架 2:集成 3:其它") @TableField("hide_url") private Integer hideUrl; @ApiModelProperty(value= "状态 1:业务 2:其它") private Integer status; public PlanUrl() {} public PlanUrl(Long planId,String url,String name,Long fileSize,String userName,Long userId,Integer type,Integer hideUrl,Integer status) { this.planId = planId; this.url = url; this.name = name; this.fileSize = fileSize; this.userName = userName; this.userId = userId; this.type = type; this.hideUrl = hideUrl; this.status = status; } // PlanUrl planUrl = new PlanUrl( // null, // // null, // // null, // // null, // // null, // 上传者 // null, // 上传者ID // null, // // null, // // null // // ); }