/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.yami.shop.distribution.comment.model;

import com.yami.shop.distribution.comment.vo.DistributionAuditingConditionsVO;
import com.yami.shop.distribution.comment.vo.DistributionAuditingInfoVO;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;

@Data
@TableName( "tz_distribution_auditing_set")
public class DistributionAuditingSet implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 申请审核条件表
     */
    @TableId
    private Long auditingSetId;

    /**
     * 商店名称
     */
    private Long shopId;

    /**
     * 申请条件
     */
    private String auditingConditionsJson;

    /**
     * 填写信息
     */
    private String auditingInfoJson;

    /**
     * 自动审核(1:开 0:关)
     */
    private Integer autoCheck;

    /**
     * 修改时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
     * 修改人
     */
    private Long modifier;

    /**
     * 申请条件
     */
    @TableField(exist = false)
    private DistributionAuditingConditionsVO auditingConditions;

    /**
     * 申请所需填写资料
     */
    @TableField(exist = false)
    private DistributionAuditingInfoVO auditingInfo;
}
