# ScheduleEmailTarget.java

    package cloud.wconnect.workperformance.entity.schedule;

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

    import java.io.Serializable;

    /**
     * <p>
     * schedule 收件人、抄送人配置
     * </p>
     *
     * @author yyt
     * @since 2023-06-28
     */
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    public class ScheduleEmailTarget 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：w-connect 用户 2: manual 3：用户组
         */
        private Integer source;

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

        /**
         * 姓名
         */
        private String identityName;

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

        public static final int TYPE_TO = 1;

        public static final int TYPE_CC = 2;

    }