# HotelKpiEmailTarget.java

    package cloud.wconnect.workperformance.entity.hotelkpi;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

    import java.io.Serializable;

    /**
     * <p>
     * Hotel KPI email target
     * </p>
     *
     * @author zc
     * @since 2024-06-24
     */
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("hotel_kpi_email_target")
    public class HotelKpiEmailTarget implements Serializable {

        private static final long serialVersionUID = 1L;

        /**
         * id
         */
        @TableId(value = "id", type = IdType.AUTO)
        private Integer id;

        /**
         * 资产 id
         */
        private Integer propertyId;

        /**
         * email config id
         */
        private Integer configId;

        /**
         * 目标类型(1:To,2:CC)
         */
        private Integer targetType;

        /**
         * 用户来源(1:w-connect用户 2:manual 3:w-connect用户组)
         */
        private Integer source;

        /**
         * 身份ID。用户来源是manual时，此值为0
         */
        private Integer identityId;

        /**
         * 用户姓名
         */
        private String username;

        /**
         * 邮箱地址
         */
        private String email;
    }