update 使用 策略+工厂 重写OSS模块

This commit is contained in:
疯狂的狮子li
2021-07-18 18:20:21 +08:00
parent d642c08c2e
commit 089e288a6e
26 changed files with 602 additions and 474 deletions

View File

@ -9,20 +9,24 @@ import java.io.Serializable;
import java.util.Date;
/**
* 文件上传表 sys_oss
* OSS云存储对象
*
* @author chkj
* @date 2019-07-15
* @author Lion Li
*/
@Data
@Accessors(chain = true)
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sys_oss")
public class SysOss implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 云存储主键
*/
@TableId(value = "oss_id")
private Long ossId;
/**
* 文件名
@ -51,8 +55,21 @@ public class SysOss implements Serializable {
@TableField(fill = FieldFill.INSERT)
private String createBy;
/**
* 更新时间
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
private Date updateTime;
/**
* 更新人
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
private String updateBy;
/**
* 服务商
*/
private Integer service;
private String service;
}