package com.crm.rely.backend.core.entity.custom.file;

import com.crm.rely.backend.core.constant.Constants;
import com.crm.rely.backend.core.entity.base.BaseAddEntity;
import lombok.Data;
import lombok.NonNull;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class CustomFileAddAndUpdateEntity {
    private Long id;

    private Long customId;

    @NotNull(message = Constants.SYSTEM_ERROR)
    private Integer type;

    private String path;

    private String ip;

    private Long user;

    private Date time;

    /**
     * 1:客户
     * 2:后台操作人员
     */
    private Integer uploadUserType;
}
