package com.ruoyi.ss.storeApply.domain;

import com.fasterxml.jackson.annotation.JsonView;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.JsonViewProfile;
import com.ruoyi.ss.store.domain.Store;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 店铺审核对象 ss_store_apply
 *
 * @author ruoyi
 * @date 2024-08-03
 */
@Data
public class StoreApply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @JsonView(JsonViewProfile.AppMch.class)
    private Long id;

    @Excel(name = "审核类型")
    @ApiModelProperty("审核类型")
    @JsonView(JsonViewProfile.AppMch.class)
    private String applyType;

    @Excel(name = "审核状态")
    @ApiModelProperty("审核状态")
    @JsonView(JsonViewProfile.AppMch.class)
    private String status;

    @Excel(name = "店铺id")
    @ApiModelProperty("店铺id")
    @JsonView(JsonViewProfile.AppMch.class)
    private Long storeId;

    @Excel(name = "提交人id")
    @ApiModelProperty("提交人id")
    @JsonView(JsonViewProfile.AppMch.class)
    private Long userId;

    @Excel(name = "审核人id")
    @ApiModelProperty("审核人id")
    private Long verifyId;

    @Excel(name = "审核时间")
    @ApiModelProperty("审核时间")
    @JsonView(JsonViewProfile.AppMch.class)
    private LocalDateTime verifyTime;

    @Excel(name = "审核意见")
    @ApiModelProperty("审核意见")
    @JsonView(JsonViewProfile.AppMch.class)
    private String verifyRemark;

    @Excel(name = "旧数据json")
    @ApiModelProperty("旧数据json")
    @JsonView(JsonViewProfile.AppMch.class)
    private Store oldData;

    @Excel(name = "新数据json")
    @ApiModelProperty("新数据json")
    @JsonView(JsonViewProfile.AppMch.class)
    private Store newData;

}
