# PastReservationEmailTarget.java

    package cloud.wconnect.frontoffice.entity.pastreservation;

    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.experimental.Accessors;

    import java.io.Serializable;

    /**
     * <p>
     * 邮件配置收件人、抄送人
     * </p>
     *
     * @author yyt
     * @since 2024-10-01
     */
    @Getter
    @Setter
    @Accessors(chain = true)
    @TableName("past_reservation_email_target")
    public class PastReservationEmailTarget implements Serializable {

        private static final long serialVersionUID = 1L;

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

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

        /**
         * 邮件配置id
         */
        private Integer configId;

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

        /**
         * 用户来源1：user 2: manual 3: user group
         */
        private Integer source;

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

        /**
         * 用户姓名/用户组姓名
         */
        private String identityName;

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