# HkInventoryEmailTarget.java

    package cloud.wconnect.workperformance.entity.hkinventory;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import lombok.Getter;
    import lombok.Setter;
    import lombok.ToString;
    import lombok.experimental.Accessors;

    import java.io.Serializable;

    /**
     * <p>
     * Housekeeping Inventory功能的邮件配置（收件人、抄送人）表
     * </p>
     *
     * @author lichen
     * @since 2025-04-19
     */
    @Getter
    @Setter
    @ToString
    @Accessors(chain = true)
    @TableName("hk_inventory_email_target")
    public class HkInventoryEmailTarget implements Serializable {

        private static final long serialVersionUID = 1L;

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

        /**
         * 租户id
         */
        private Integer tenantId;

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

        /**
         * 邮件配置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;
    }