package cn.wise.sc.acquisition.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author renchao
 * @since 2021-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("T_Safe_Trouble_Img")
public class TSafeTroubleImg implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * T_Safe_Trouble中的ID
     */
    @TableId(value = "TroubleUid", type = IdType.ASSIGN_UUID)
    private String TroubleUid;

    /**
     * 照片
     */
    @TableField("Img")
    private byte[] Img;

    /**
     * 照片类型,分为隐患照片和整改后照片两类
     */
    @TableField("ImgType")
    private String ImgType;



    public interface ImgType{
        String YH = "隐患照片";
        String ZG = "整改照片";
    }



}
